Index: LayoutTests/svg/as-image/animated-svg-wrong-timesource.html |
diff --git a/LayoutTests/svg/as-image/animated-svg-wrong-timesource.html b/LayoutTests/svg/as-image/animated-svg-wrong-timesource.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94d3ab13e70be45673b080ca5365dc025d63db06 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/animated-svg-wrong-timesource.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<body> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+var img = new Image(); |
+img.onload = function() { |
+ setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 100); |
+} |
+img.src = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect width='100' height='100' fill='red'><animate attributeName='fill' from='green' to='green' dur='10s'/></rect></svg>"; |
+document.body.appendChild(img); |
+</script> |