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

Unified Diff: LayoutTests/svg/as-image/svg-image-with-css-animation.html

Issue 196223014: Fix running of CSS Animations in SVG-in-<img>/background-image/etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: LayoutTests/svg/as-image/svg-image-with-css-animation.html
diff --git a/LayoutTests/svg/as-image/svg-image-with-css-animation.html b/LayoutTests/svg/as-image/svg-image-with-css-animation.html
new file mode 100644
index 0000000000000000000000000000000000000000..d587a93aae7e0e46336e7d98ded8593bc85aa49f
--- /dev/null
+++ b/LayoutTests/svg/as-image/svg-image-with-css-animation.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<img src="resources/css-animation.svg">
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+document.querySelector('img').onload = function() {
+ window.setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 50);
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698