blob: b709acdbd9a1294278c41689c19b05c30d5aa00a [file] [log] [blame]
<script>
window.onload = function() {
if (window.testRunner)
testRunner.dumpAsText();
document.execCommand("selectall", false);
document.designMode="on";
document.execCommand("insertparagraph", false);
document.execCommand("InsertText", false);
document.firstChild.appendChild(document.createElement('body'));
document.body.innerText = "This tests executing an editing command while executing a typing command.\nPASS";
};
document.addEventListener("DOMNodeRemovedFromDocument",
function() { document.execCommand("JustifyNone", false); },true);
</script>