Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / line-wrap-1.html
blob63f47fcce893f8381da465db9896fd66395e5315
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>Only 'bar' should be selected.</p>
7 <div id="test" style="width: 50px; border: 1px solid black;">foo bar baz foo</div>
9 <script>
10 var s = window.getSelection();
11 var e = document.getElementById("test");
13 s.setBaseAndExtent(e.firstChild, 4, e.firstChild, 7);
14 </script>