Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / target-condition-crash.html
blob3d8a30b9f34293a634baa1c8d0a29f6442d931db
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test that target conditions are correctly removed on document destruction.<br/>
5 This test passes if it does not crash<br/>
6 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100" height="100">
7 <path id="path"></path>
8 <use xlink:href="#path">
9 <animateMotion begin="click"></animateMotion>
10 </use>
11 </svg>
12 <script type="text/javascript">
13 if (window.testRunner)
14 testRunner.waitUntilDone();
16 window.setTimeout(function(){
17 if (location.hash != '#5') {
18 if (window.GCController)
19 window.GCController.collect();
20 else if (window.gc)
21 gc();
22 if (location.hash == '')
23 location.hash = '#1';
24 else
25 location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
26 location.reload();
27 } else {
28 document.write('PASS: Test did not crash.');
29 if (window.testRunner) {
30 testRunner.dumpAsText();
31 testRunner.notifyDone();
34 }, 0);
35 </script>
36 </body>
37 </html>