2 window
.onload = function() {
4 testRunner
.dumpAsText();
6 document
.execCommand("selectall", false);
7 document
.designMode
="on";
8 document
.execCommand("insertparagraph", false);
9 document
.execCommand("InsertText", false);
11 document
.firstChild
.appendChild(document
.createElement('body'));
12 document
.body
.innerText
= "This tests executing an editing command while executing a typing command.\nPASS";
15 document
.addEventListener("DOMNodeRemovedFromDocument",
16 function() { document
.execCommand("JustifyNone", false); },true);