XML error document creation should not fire mutation events
[WebKit-https.git] / 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">\r
2     <html xmlns="http://www.w3.org/1999/xhtml">\r
3         <body>\r
4             <script type="text/javascript">\r
5                 if (window.layoutTestController)\r
6                 {\r
7                     layoutTestController.dumpAsText();\r
8                     layoutTestController.waitUntilDone();\r
9                 }\r
10 \r
11                 function runTest()\r
12                 {\r
13                     document.getElementsByTagNameNS('http://www.w3.org/1999/xhtml', 'style')[0];\r
14                     if (document.body) {\r
15                         document.body.innerHTML = "PASS";\r
16                         if (window.layoutTestController)\r
17                             layoutTestController.notifyDone();\r
18                     }\r
19                 }\r
20             </script>\r
21             <svg:style>\r
22                 <xht:caption>\r
23                     <xht:iframe onload="runTest();"></xht:iframe>\r
24                     <style></style>\r
25                 </xht:caption>\r
26             </svg:style>\r
27         </body>\r
28     </html>\r
29     <!----->\r
30 </svg>\r