Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css / stylesheet-candidate-nodes-crash.xhtml
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xht="http://www.w3.org/1999/xhtml">
2     <html xmlns="http://www.w3.org/1999/xhtml">
3         <body>
4             <script type="text/javascript">
5                 if (window.testRunner)
6                 {
7                     testRunner.dumpAsText();
8                     testRunner.waitUntilDone();
9                 }
10
11                 function runTest()
12                 {
13                     document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml', 'style')[0];
14                     if (document.body) {
15                         document.body.innerHTML = "PASS";
16                         if (window.testRunner)
17                             testRunner.notifyDone();
18                     }
19                 }
20             </script>
21             <svg:style>
22                 <xht:caption>
23                     <xht:iframe onload="runTest();"></xht:iframe>
24                     <style></style>
25                 </xht:caption>
26             </svg:style>
27         </body>
28     </html>
29     <!----->
30 </svg>