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-remove-insert-evaluator-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Removing and re-inserting a container should crash</title>
<style>
#container { container-type: inline-size }
</style>
<div id="outer">
<div id="container"></div>
</div>
<script>
container.offsetTop;
let removed = container;
container.remove();
outer.appendChild(removed);
</script>