cross-shadow-boundary-img-ref.html (268B)
1 <!doctype html> 2 OuterText1 3 <div>innerText1</div> 4 OuterText2 5 <div><img style="width: 10px; height: 10px; background-color: black"></img></div> 6 OuterText3 7 <script> 8 getSelection().setBaseAndExtent(document.body.firstChild, 3, document.body.childNodes[4], 3); 9 </script>