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/chrome-bug-439886903-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Chrome crash issue 439886903</title>
<html class="test-wait">
<div id="container" style="container-type:inline-size">
<div id="target"></div>
<object id="svg" data='data:image/svg+xml,<?xml version="1.0"?><svg></svg>'></object>
</div>
<script type="module">
await new Promise(r => svg.addEventListener("load", r, { once: true }));
document.body.offsetTop;
container.style.width = "100px";
target.style.backgroundColor = "red";
document.body.offsetTop;
document.documentElement.classList.remove("test-wait");
</script>