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

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

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
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/svg-image-with-css-animation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/as-image/resources/css-animation.svg
diff --git a/LayoutTests/svg/as-image/resources/css-animation.svg b/LayoutTests/svg/as-image/resources/css-animation.svg
new file mode 100644
index 0000000000000000000000000000000000000000..9aec180ab1986101137fa84f28623387ebdbd2a4
--- /dev/null
+++ b/LayoutTests/svg/as-image/resources/css-animation.svg
@@ -0,0 +1,18 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
+ <rect width="100" height="100" class="s0"/>
+ <style>
+ @keyframes pop { from { fill: red; } to { fill: green; } }
+ @-webkit-keyframes pop { from { fill: red; } to { fill: green; } }
+
+ .s0 {
+ animation-name: pop;
+ animation-duration: 0.001s;
+ animation-iteration-count: 1;
+ animation-fill-mode: forwards;
+ -webkit-animation-name: pop;
+ -webkit-animation-duration: 0.001s;
+ -webkit-animation-iteration-count: 1;
+ -webkit-animation-fill-mode: forwards;
+ }
+ </style>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/svg-image-with-css-animation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698