summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-14-crash.html
blob: 0f36a7afee2e23621ad6213f0f2a0445a6697e4e (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 shadowroot=open>
    <slot style="content-visibility:hidden; display:block"></slot>
  </template>
  <div id='id6'>
    <template shadowroot=open>
      <slot></slot>
    </template>
  </div>
</div>