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

Unified Diff: LayoutTests/svg/animations/animateTransform-to-mismatched-types.html

Issue 330813002: Fix computation of animated transform w/ different from/to transform types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixup comment. Created 6 years, 6 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/animations/animateTransform-to-mismatched-types.html
diff --git a/LayoutTests/svg/animations/animateTransform-to-mismatched-types.html b/LayoutTests/svg/animations/animateTransform-to-mismatched-types.html
new file mode 100644
index 0000000000000000000000000000000000000000..4ed3d02a05d0ccf5021c37bb67e217b5b1839671
--- /dev/null
+++ b/LayoutTests/svg/animations/animateTransform-to-mismatched-types.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<svg width="200" height="200">
+ <rect width="100" height="100" transform="translate(100,0)" fill="green">
+ <animateTransform attributeName="transform" additive="sum" type="scale" to="2" dur="2" fill="freeze"></animateTransform>
+ </rect>
+</svg>
+<script>
+window.onload = function() {
+ var root = document.querySelector('svg');
+ root.pauseAnimations();
+ root.setCurrentTime(2);
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698