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

<script>
function showmodal() {
 dialog.showModal();
}
</script>

<body onload=showmodal()>
  <div>
    <template shadowrootmode=open>
      <slot style="content-visibility: hidden; display:block"></slot>
    </template>
    <dialog id=dialog></dialog>
  </div>
</body>