content/base/crashtests/816253.html
author Simon Montagu <smontagu@smontagu.org>
Sun, 09 Dec 2012 23:10:54 -0800
changeset 115470 263bc2e3481f954ce40127fdc5e8e3520025d0cb
permissions -rw-r--r--
Test for bug 816253

<!DOCTYPE html>
<html>
    <head>
        <script>
            window.onload = function() {
                setInterval(
                    function next_step() {
                        var style = document.createElement('style');
                        style.innerHTML = "{ }";
                        document.getElementsByTagName("*")[ 7 ].appendChild(style);
                        window.dump('.');
                    }, 10);
            }
        </script>
    </head>
    <body>
        <div id="console"></div>
        <div id="parentDiv">
            <div id="left-to-right" dir="auto" class="testElement">
                <input type="text" value="מקור השם עברית">Test test test
            </div>
        </div>
        <script id="des">
            var el = document.getElementById("left-to-right");
            document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color');

            document.getElementById("parentDiv").style.display = "none";
        </script>

    </body>
</html>