Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / animate-reference-crash.html
blobc084a702e97936d77c2a7d68d09bc9ba2460e091
1 <!DOCTYPE HTML>
2 <!-- Test for WK90042 - Passes if there is no crash and "PASS" is displayed. -->
3 <html>
4 <body>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var textElement = document.createElementNS("http://www.w3.org/2000/svg", "text");
10 document.documentElement.appendChild(textElement);
11 var aElement = document.createElementNS("http://www.w3.org/2000/svg", "a");
12 var animateElement = document.createElementNS("http://www.w3.org/2000/svg", "animate");
13 aElement.appendChild(animateElement);
14 document.implementation.createDocument("", "", null).adoptNode(aElement);
15 for (something in animateElement)
16 animateElement[something];
17 textElement.appendChild(animateElement);
18 textElement.parentNode.removeChild(textElement);
20 // Not crashing at this point means we PASS.
21 document.body.innerHTML = "PASS";
22 </script>
23 </body>
24 </html>