summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1887963_2.html
blob: 53f512173bda0018e8f021eb64672aaa3d134cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
document.addEventListener("DOMContentLoaded", () => {
  let c = a.attachShadow({mode: "open"})
  let b = document.getElementById("not-slotted");
  window.parent.getSelection().setBaseAndExtent(b, 0, c, 0)
})
</script>
<div id="a">A</div>
<video>
  <div id="host">
    <template shadowrootmode="open">
    </template>
    <span id="not-slotted">NotSlotted</span>
  </div>
</video>