Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / mixed-editability-7.html
1 <p>This tests creating a selection based inside a nested editable region that extends out to editable content that is inside the same highest editable root.  'One' through 'Three' should be selected.</p>
2 <div contenteditable="true">
3 <div id="extent">One</div>
4 <div contenteditable="false"><span>Two</span> <span id="base" contenteditable="true">Three</span></div>
5 <div>Four</div>
6 </div>
7
8 <script>
9 var base = document.getElementById("base");
10 var extent = document.getElementById("extent");
11
12 var sel = window.getSelection();
13 sel.setBaseAndExtent(base, 1, extent, 0);
14 </script>