summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/selection/shadow-dom/cross-shadow-boundary-select-root-ref.html
blob: fe74406acda98ad7e4f868a7ecf7f8be0d0bf197 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html>
 <body>
 <div id="outerText">OuterText1</div>
 <div>InnerText1</div>
 <div>OuterText2</div>
 <div id="host">InnerText2</div>
 <script>
   window.getSelection().setBaseAndExtent(outerText, 0, host, host.childNodes.length);
 </script>
</body></html>