Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-paragraph-02.html
bloba26eeb2466b93967c328c8c5c1d90391ca9c864e
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests inserting a paragraph separator after a table. There should be an empty paragraph between the table and 'bar' and the caret should be in the empty paragraph.</p>
6 <div contenteditable="true" id="div"><table border="1"><tr><td>foo</td></tr></table>bar</div>
8 <script>
9 if (window.internals)
10 internals.settings.setEditingBehavior('mac');
11 var sel = window.getSelection();
12 var div = document.getElementById("div");
13 sel.collapse(div, 0);
14 sel.modify("move", "forward", "character");
15 sel.modify("move", "forward", "character");
16 sel.modify("move", "forward", "character");
17 sel.modify("move", "forward", "character");
18 sel.modify("move", "forward", "character");
19 document.execCommand("InsertParagraph");
20 </script>