по теме
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
body {
margin: 0;
padding: 0;
height: 100%;
}
html {
height: 100%;
min-width: 1300px;
}
</style>
</head>
<body>
<script>
[['body',[['margin','0px'],['padding','0px'],['height','100%']]],
['html',[['height', '100%'],['minWidth', '1300px']]]].forEach(el=>{
var style = document.styleSheets, rules = style[style.length-1].rules,
ind = [].findIndex.call(rules, rule => rule.selectorText == el[0]),
prop = style[0].rules[ind].style;
if(el[1].every(el=>prop[el[0]] == el[1])) document.styleSheets[0].deleteRule(ind);
});
</script>
</body>
</html>