Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / before-after-input-element.html
blob8e8deb4d36d9153dea3dde9d4dd47b3378a1e15e
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests text insertion before/after an input element.</p>
6 <div id="div" contenteditable="true"><input type="text"></div>
8 <script>
9 var div = document.getElementById("div");
10 var sel = window.getSelection();
11 sel.collapse(div, 0);
13 document.execCommand("InsertText", false, "Hello");
14 sel.collapse(div, div.childNodes.length);
16 document.execCommand("InsertText", false, "World");
17 </script>