Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / merge-end-list.html
blob5da2ac7e05ac59415e0f7e91444f4c3d6bce6949
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>This tests pasting a list ('Item 1') 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("<ul><li><div>Item 1</div></li></ul>");
22 Markup.dump(e, 'After insertion');
23 </script>
24 </body>
25 </html>