Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / inserting / 5685601-2.html
1 <p>This tests to make sure that there is no special class on block placeholders used during the InsertPargraph opreation.  Below there should be an empty paragraph followed by another one that is made up of a block with a &lt;br&gt; inside of it.</p>
2 <div id="div" contenteditable="true"><br></div>
3
4 <script>
5 div = document.getElementById("div");
6 div.focus();
7 document.execCommand("InsertParagraph");
8 if (window.testRunner) {
9     window.testRunner.dumpAsText();
10     document.body.innerText = div.innerHTML;
11 }
12 </script>