<!DOCTYPE html>
<html>
<body style="background-size: cover; transition-duration: 1ms"></body>
<script>
var body = document.body;
/* flush */ getComputedStyle(body, "").backgroundSize;
body.style.backgroundSize = 'contain';
/* flush */ getComputedStyle(body, "").backgroundSize;
</script>
</html>