15 lines
453 B
HTML
15 lines
453 B
HTML
<div style="display: flex; flex-direction: column;">
|
|
<canvas style="background-color: blue;">
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
|
|
window.requestAnimationFrame(function() {
|
|
document.querySelector("canvas").height = "500";
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
});
|
|
</script>
|
|
</canvas>
|
|
</div>
|