Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / table-caret-3.html
blob5f74c8879e896cf1afa14085234941388a00e3ba
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <style>
6 table, td {
7 border: 1px solid #999;
9 </style>
11 <p>This tests the caret position for the caret after an inline table.</p>
13 <div contenteditable="true">foo<table style="display:inline" id="test"><tr><td>this</td></tr><tr><td>is</td></tr><tr><td>a table</td></tr></table>baz</div>
15 <script>
16 var s = window.getSelection();
17 var e = document.getElementById("test");
19 s.collapse(e, e.childNodes.length);
20 </script>