Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 5032095.html
blobed215cf6e9ffba150c7af04b43b2daf4e642e5e8
1 <p>This tests for a bug where content pasted at the end of a paragraph would be inserted into the next paragraph. You should see 'helloworld' below.</p>
2 <div id="div" contenteditable="true">hello</div>
4 <script>
5 var div = document.getElementById("div");
6 var sel = window.getSelection();
7 sel.collapse(div, 0);
8 sel.modify("move", "forward", "word");
9 document.execCommand("InsertHTML", false, "<span><div>world</div></span>");
10 </script>