Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / mixed-editability-2.html
bloba10d726397980370b32ccad31edb294819b6c830
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <body>
6 <div contenteditable="true">
7 OnlyThe<span id="base" style="font-weight:bold;" contenteditable="false">Bold</span>TextShould<span id="extent">Be</span>Selected
8 </div>
9 <script>
10 var s = window.getSelection();
11 var base = document.getElementById("base");
12 var extent = document.getElementById("extent");
13 s.setBaseAndExtent(base, 0, extent, 0);
14 </script>
15 </body>