1 <div id=
"description">This tests for https://bugs.webkit.org/show_bug.cgi?id=
25256 where we would add a newline during an alignment change operation. You should see a single paragraph in the editable region below, and it should be right aligned.
</div>
2 <div id=
"edit" contentEditable=
"true"><br></div>
5 edit
= document
.getElementById("edit");
7 document
.execCommand("JustifyRight");
8 if (window
.testRunner
) {
9 testRunner
.dumpAsText();
10 document
.body
.innerText
= document
.getElementById("description").innerText
+ "\n\n" + edit
.innerHTML
;