columns-in-table-002-crash.html (669B)
1 <!doctype html> 2 <title>CSS Container Queries Test: container with multicol table-header-group crashes Chrome</title> 3 <link rel="help" href="https://drafts.csswg.org/css-conditional-5/#size-container"> 4 <link rel="help" href="https://crbug.com/1307656"> 5 <p>Pass if test does not crash.</p> 6 <div id="container" style="container-type:inline-size"> 7 <span style="display:table-header-group;columns:1"></span> 8 <span style="display:table-header-group;"></span> 9 </div> 10 <script> 11 // This originally caused a crash. 12 document.body.offsetTop; 13 // Additionally make sure we don't crash when the container is re-attached. 14 container.style.display = "inline-block"; 15 </script>