Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5378847.html
blob541ed81858c4a6c657055cfb8d61065441e399ae
1 <p>This tests character insertion on a line with an unrendered text node. You should see 'Hello' and then 'World' below.</p>
2 <div id="div" contenteditable="true"><table border="1"><tr><td>Hello</td></tr></table><br></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 var div = document.getElementById("div");
9 children = div.childNodes;
10 br = children[1];
11 text = document.createTextNode('\n');
12 div.insertBefore(text, br);
13 sel = window.getSelection();
14 sel.collapse(div, 1);
15 document.execCommand("InsertText", false, "World");
16 </script>