<script>
testRunner.dumpAsText();

function runTest() {
    document.execCommand('justifyRight', null, true);
    document.body.innerHTML = 'PASS';
}
</script>
<body onload=runTest()>
<button autofocus>
