summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/stylesheet-candidate-nodes-crash.xhtml
blob: becbe2c098705d6278ba6e33c1b8dca79b4ceb79 (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
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xht="http://www.w3.org/1999/xhtml">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <body>
            <script type="text/javascript">
                if (window.testRunner)
                {
                    testRunner.dumpAsText();
                    testRunner.waitUntilDone();
                }

                function runTest()
                {
                    document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml', 'style')[0];
                    if (document.body) {
                        document.body.innerHTML = "PASS";
                        if (window.testRunner)
                            testRunner.notifyDone();
                    }
                }
            </script>
            <svg:style>
                <xht:caption>
                    <xht:iframe onload="runTest();"></xht:iframe>
                    <style></style>
                </xht:caption>
            </svg:style>
        </body>
    </html>
    <!----->
</svg>