6 window
.testRunner
.dumpAsText();
7 div
= document
.getElementById("div");
9 document
.execCommand("SelectAll");
10 document
.execCommand("FormatBlock", false, "<pre>");
11 document
.body
.innerText
= document
.getElementById("description").innerText
+ "\n" + document
.getElementById("div").innerHTML
;
15 <body onLoad=
"runTest()"><div id=
"description">This tests to make sure an ASSERT doesn't fire when performing a FormatBlock operation on a selection that ends just after a horizontal rule that is the last element in the document. The test should not assert.
</div><div id=
"div" contentEditable=
"true"><hr></div></body></html>