OLD | NEW |
1 ><progress><script src="../../resources/dump-as-markup.js"></script><script> | 1 ><progress><script src="../../resources/dump-as-markup.js"></script><script> |
2 | 2 |
3 if (window.layoutTestController) | 3 if (window.layoutTestController) |
4 layoutTestController.dumpAsText(); | 4 layoutTestController.dumpAsText(); |
5 | 5 |
6 document.designMode="on"; | 6 document.designMode="on"; |
7 document.execCommand("selectall"); | 7 document.execCommand("selectall"); |
8 document.execCommand("justifycenter",false); | 8 document.execCommand("justifycenter",false); |
9 document.body.removeChild(document.body.firstElementChild); | 9 document.body.removeChild(document.body.firstElementChild); |
10 document.execCommand("insertparagraph"); | 10 document.execCommand("insertparagraph"); |
11 | 11 |
12 Markup.description("This tests removing the start block. WebKit should not crash
."); | 12 Markup.description("This tests removing the start block. WebKit should not crash
."); |
13 Markup.dump(document.body); | 13 Markup.dump(document.body); |
14 | 14 |
15 </script> | 15 </script> |
OLD | NEW |