cross-shadow-boundary-slot-6-ref.html (317B)
1 <!doctype html> 2 <span id="outer">Outer</span> 3 <div id="host"> 4 <span id="inner">Inner</span> 5 <span id="first">First</span> 6 <span>Second</span> 7 </div> 8 <script> 9 // select "First" shouldn't select "Second" 10 window.getSelection() 11 .setBaseAndExtent(outer.firstChild, 3, first.firstChild, 2); 12 </script>