<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <script>
            function test() {
                if (window.testRunner)
                    testRunner.dumpAsText();

                document.getElementById("dv").focus();
                document.execCommand("JustifyRight", false);
            }
        </script>
    </head>
    <body onload="test()">
        This test passes if it doesn't crash.<br>
        <div contentEditable id="dv"><span><br>ד0</span></div>
    </body>
</html>
