Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / display-table-text.html
blob3d68fb15de07123917ad23e0c7497e3c813d859c
1 <html>
2 <head>
3 <script>
4 function editingTest() {
5 if (window.testRunner)
6 testRunner.dumpEditingCallbacks();
8 var elem = document.getElementById("test").firstChild;
9 var selection = window.getSelection();
11 selection.setBaseAndExtent(elem, 9, elem, 14);
13 </script>
14 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=11271</title>
15 </head>
16 <body>
17 <div id="test" style="display: table;">Only the third word in this sentence should be selected.</div>
18 <script>
19 editingTest();
20 </script>
21 </body>
22 </html>