<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
function go() { | |
document.designMode = "on"; | |
document.execCommand("SelectAll", false, null); | |
document.execCommand("strikethrough", false, null); | |
document.body.innerHTML = 'This tests ApplyStyleCommand::fixRangeAndApplyInlineStyle does not crash when startNode is body.<br>PASS'; | |
testRunner.notifyDone(); | |
} | |
</script> | |
</head> | |
<body onload="go()"><div><img></div></body> | |
</html> |