Index: third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html |
diff --git a/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html b/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0187635ce88dd8a09875a1bec24db561e6d783eb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/animations/target-move-crash.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+ |
+var done = false; |
+function repeatHandler() { |
+ if (done && window.testRunner) |
+ testRunner.notifyDone() |
+} |
+function handler() { |
+ group.before(firstroot); |
+ done = true; |
+} |
+</script> |
+<svg id="firstroot"></svg> |
+<svg> |
+ <g id="group"> |
+ <set attributeName="stroke-dashoffset" xlink:href="#firstroot" onbegin="handler()"/> |
+ </g> |
+ <animate attributeName="stroke-linejoin" dur="0.1s" repeatDur="indefinite" onrepeat="repeatHandler()"> |
+</svg> |
+<p>PASS if no crash</p> |