cross-shadow-boundary-slot-complex-4.html (601B)
1 <!doctype html> 2 <head> 3 <link rel="match" href="cross-shadow-boundary-slot-complex-4-ref.html"/> 4 </head> 5 <div> 6 <template shadowrootmode="open"> 7 <div> 8 <div> 9 <div> 10 <slot name="s1"></slot> 11 </div> 12 </div> 13 <div> 14 <div> 15 <slot name="s2"></slot> 16 </div> 17 </div> 18 </div> 19 </template> 20 <div slot="s2"> 21 <span>Prev</span> 22 <span id="end">End</span> 23 </div> 24 <div slot="s1"> 25 <span id="start">Start</span> 26 </div> 27 </div> 28 <script> 29 // Start 30 // Prev 31 window.getSelection().setBaseAndExtent(start,0,end, 0); 32 </script>