<html>
<head>
<script>
function runTest() {
    if (window.testRunner)
        window.testRunner.dumpAsText();
    window.getSelection().setPosition(document.body, 0); 
    document.execCommand("JustifyCenter");
    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;
        
}
</script>
</head>
<body contentEditable="true" onLoad="runTest();"></body>
</html>
