upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 19089.html
1 <html>
2 <head>
3 <script>
4 function runTest() {
5     if (window.layoutTestController)
6         window.layoutTestController.dumpAsText();
7     div = document.getElementById("div");
8     div.focus();
9     document.execCommand("SelectAll");
10     document.execCommand("FormatBlock", false, "<pre>");
11     document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("div").innerHTML;
12 }
13 </script>
14 </head>
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>