Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / paragraph-separator-in-table-1.html
blobf5c9f6af6111681e0136899fef13ba9054b0bb82
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests InsertParagraphSeparator inside table cells. 'Cell' and 'Two' should be on separate lines.</p>
7 <div contenteditable="true"><table border="1"><tr><td>Cell One</td><td>Cell <span id="test">Two</span></td></tr></table></div>
9 <script>
10 var e = document.getElementById("test").firstChild;
11 var s = window.getSelection();
13 s.collapse(e, 0);
14 document.execCommand("InsertParagraph");
15 </script>