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/columns-in-table-002-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Container Queries Test: container with multicol table-header-group crashes Chrome</title>
<p>Pass if test does not crash.</p>
<div id="container" style="container-type:inline-size">
<span style="display:table-header-group;columns:1"></span>
<span style="display:table-header-group;"></span>
</div>
<script>
// This originally caused a crash.
document.body.offsetTop;
// Additionally make sure we don't crash when the container is re-attached.
container.style.display = "inline-block";
</script>