summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/selection/shadow-dom/cross-shadow-boundary-img-ref.html
blob: 7f3b03ace681d732f8fa7bdd85dac00470eae1e0 (plain)
1
2
3
4
5
6
7
8
9
<!doctype html>
OuterText1
<div>innerText1</div>
OuterText2
<div><img style="width: 10px; height: 10px; background-color: black"></img></div>
OuterText3
<script>
  getSelection().setBaseAndExtent(document.body.firstChild, 3, document.body.childNodes[4], 3);
</script>