6 window.testRunner.dumpAsText();
7 window.getSelection().setPosition(document.body, 0);
8 document.execCommand("JustifyCenter");
9 document.body.innerText = "This tests to make sure that changing block properties of content whose enclosing block is the body doesn't put those properties on the body, since Mail finds it difficult to remove those properties later when necessary. Below is the DOM inside the body. There should be a div with text-align:center on it.\n\n" + document.body.innerHTML;
14 <body contentEditable="true" onLoad="runTest();"></body>