Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: LayoutTests/svg/as-image/animated-svg-wrong-timesource.html

Issue 204673004: Use monotonic time for SVGImage's serviceScriptedAnimations() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added TC. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/animated-svg-wrong-timesource-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/animated-svg-wrong-timesource-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698