Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / discard-on-svg-crash.html
blob547e06d3f69da4cf9e19d7d6fb468b62d8ed5b71
1 <!DOCTYPE HTML>
2 <html>
3 <body onload="startTest()">
4 <svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"
5 xmlns:xlink="http://www.w3.org/1999/xlink">
6 <svg id="inner" width="300" height="300">
7 <rect id="rect" width="100" height="100" fill="green">
8 <animate attributeName="x" from="0" to="300" begin="0s" dur="10s"/>
9 <discard xlink:href="#inner" begin="0s"/>
10 </rect>
11 </svg>
12 </svg>
13 <script>
14 function startTest() {
15 if (window.testRunner)
16 testRunner.waitUntilDone();
17 setTimeout(function() {
18 document.write('PASS: Test did not crash.');
19 if (window.testRunner) {
20 testRunner.dumpAsText();
21 testRunner.notifyDone();
23 }, 10);
25 </script>
26 </body>
27 </html>