blob: 44b66dec317f948a3ec01b5856ecfa6ed08468de [file] [log] [blame]
<html>
<head>
<script>
function runTest() {
if (window.layoutTestController)
window.layoutTestController.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>