lity: hidden;
}
</style>
<p>Test fails if the box below is square.</p>
<iframe class=hidden id=frame width=200 height=200 srcdoc='Lorem ipsum'></iframe>

<script>
async function runTest() {
  document.getElementById("frame").height = 300;
  requestAnimationFrame(takeScreenshot);
}

onload = () => { requestAnimationFrame(runTest); };
</script>
