| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| document.execCommand("JustifyCenter"); |
| document.body.innerText = "This tests for a crash when doing a block style change inside an editable root that contains rendered, but invisible content. This test shouldn't crash and the text-align:center should go onto a new paragraph element, not the body." + "\n\n" + document.body.innerHTML; |
| <body onLoad="runTest();" contentEditable="true"><div style="padding-left: 5px;"></div></body></html> |