summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/contain-strict-subgrid-crash.html
blob: 0d377175b7b6aa6b8fd5ba0dc3e3f3ed20f8aad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<head>
<title>contain: strict element with subgrid properties</title>
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1606485">
</head>
<style>

#gridcontainer {
  display: grid;
  contain: strict;
}

.item {
  display: grid;
  grid: subgrid [x] / subgrid [x];
}
</style>
<div id="gridcontainer">
<div class="item">Text1</div>
</div>