blob: e19834f7a17492a867c57c5f25850705d0b0ab5e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
document.designMode="on";
document.open();
window.getSelection().addRange(document.createRange());
document.execCommand("JustifyRight", false, null);
document.writeln('This test ensures WebKit does not crash when executing JustifyRight in an empty document.<br><br>PASS');
}
</script>
</head>
<body onload="runTest()"></body>
</html>