summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/quote-scoping-shadow-dom-crash.html
blob: dd67e6195277a47db2cbce79f2aa01e697cd8ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<link rel="help" href="http://crbug.com/329231572">
<style>
  #test { contain: style; }
</style>
<body>
<q id="test"></q>
<div>
  <template shadowrootmode="open">
    <slot></slot>
  </template>
  <q id="test2"></q>
</div>
<script>
  test.offsetTop;
  test2.slot = "1";
  test2.appendChild(test);
  test.offsetTop;
</script>
</body>