summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/816253.html
blob: 4381700916dc10e389a469c104c2bb59051bf83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!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).getPropertyValue('border-right-color');

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

    </body>
</html>