summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-14-crash.html
blob: 8e2937312ccd8cd3da38fab8e60d79e3a3437933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1250772">

<script>
window.onload = () => {
  window.getSelection().selectAllChildren(document.body);
  id6.remove();
};
</script>

<div>
  <template shadowrootmode=open>
    <slot style="content-visibility:hidden; display:block"></slot>
  </template>
  <div id='id6'>
    <template shadowrootmode=open>
      <slot></slot>
    </template>
  </div>
</div>