Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / merge-end-table.html
blob9f458cb761efa0dbc0a24ecea39c7f4c63a73450
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>This tests pasting a table into a position that would normally result in an end merge.</p>
5 <div id="test1" contenteditable="true">xx</div>
6 <script src="../../resources/dump-as-markup.js"></script>
7 <script src="../editing.js"></script>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpEditingCallbacks();
12 var e = document.getElementById("test1");
13 var s = window.getSelection();
15 Markup.description(document.querySelector('p').textContent);
16 Markup.dump(e, 'Before insertion');
18 setSelectionCommand(e, 0, e, 0);
19 moveSelectionForwardByCharacterCommand();
20 insertHTMLCommand("<table border='1'><tr><td>1</td><td>2</td></tr></table>");
22 Markup.dump(e, 'After insertion');
23 </script>
24 </body>
25 </html>