Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / undoable-fragment-removes.html
blob45e5d0b578ae8fb45ac2fd787115b0271586ac83
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This is a testcase for 8193, hitting an assert inside RemoveNodeCommand on Undo Paste. Both editable regions below should look the same after the test.</p>
6 <hr>
7 <div style="border: 1px solid black;" id="copy" contenteditable="true">
8 <div>foo</div><div>bar</div></div>
9 <div style="border: 1px solid black;" id="paste" contenteditable="true"><br></div>
11 <script>
12 var c = document.getElementById("copy");
13 var p = document.getElementById("paste");
14 var s = window.getSelection();
15 s.collapse(c, 0);
16 document.execCommand("SelectAll");
17 document.execCommand("Copy");
18 s.collapse(p, 0);
19 document.execCommand("Paste");
20 document.execCommand("Undo");
21 </script>