summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/contain-strict-nested-subgrid-crash.html
blob: a98e43777eee9347ba1d69a4b133140cea0577fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
<style>
* {
  grid-template-rows: subgrid;
  display: grid;
  overflow: scroll;
  contain: strict;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function() {
  let e = document.createElement('s');
  document.documentElement.appendChild(e);
  document.documentElement.getBoundingClientRect() // Update layout
});
</script>