Debian Codegraph @

testing/web-platform/mozilla/tests/selection/cross-shadow-boundary-slot-complex-2-ref.html

raw
1 <!doctype html>
2 <div>
3 in shadow
4 <span id="slot1">--slotted 1--</span>
5 <div>
6 in nested shadow
7 <span id="slot2">--slotted 2--</span>
8 <span id="end">in nested shadow</span>
9 </div>
10 in shadow
11 </div>
12 <script>
13 window.getSelection()
14 .setBaseAndExtent(slot1.firstChild, 3, end.firstChild, 7);
15 </script>