blob: 24b9f1aab20b5cfb5fcffa59e50359e80f85cfa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!doctype html>
<title>CSS Container Queries Test: container with multicol table-header-group crashes Chrome</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#size-container">
<link rel="help" href="https://crbug.com/1307656">
<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>
|