trisquel-icecat/icecat/testing/web-platform/mozilla/tests/selection/cross-shadow-boundary-slot-complex-2-ref.html
2025-10-06 02:35:48 -06:00

15 lines
324 B
HTML

<!doctype html>
<div>
in shadow
<span id="slot1">--slotted 1--</span>
<div>
in nested shadow
<span id="slot2">--slotted 2--</span>
<span id="end">in nested shadow</span>
</div>
in shadow
</div>
<script>
window.getSelection()
.setBaseAndExtent(slot1.firstChild, 3, end.firstChild, 7);
</script>