1 <p>This tests for a bug where hitting return in an editable root that contains only a place holder would add two paragraph instead of one. Below you should see an empty paragraph followed by one that contains only 'x'.
</p>
2 <div id=
"div" contenteditable=
"true"><br></div>
5 div
= document
.getElementById("div");
7 document
.execCommand("InsertParagraph");
8 document
.execCommand("InsertText", false, "x");
9 if (window
.testRunner
) {
10 window
.testRunner
.dumpAsText();
11 document
.body
.innerText
= div
.innerHTML
;