Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-conditional/container-queries/crashtests/canvas-as-container-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Container Queries Test: Absolute positioned canvas container crash</title>
<p>Pass if there is no crash.</p>
<canvas id="canv" style="display:block;position:absolute;container-type:inline-size"></canvas>
<script>
canv.offsetTop;
canv.appendChild(document.createElement("span"));
</script>