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

Unified Diff: LayoutTests/animations/svg-attribute-interpolation/svg-values-interpolation.html

Issue 1068973004: Web Animations: Support animation of SVG number attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 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/animations/svg-attribute-interpolation/svg-values-interpolation.html
diff --git a/LayoutTests/animations/svg-attribute-interpolation/svg-values-interpolation.html b/LayoutTests/animations/svg-attribute-interpolation/svg-values-interpolation.html
new file mode 100644
index 0000000000000000000000000000000000000000..76d2cdd549cf6d516a3829062f9a3b0ebd09c12a
--- /dev/null
+++ b/LayoutTests/animations/svg-attribute-interpolation/svg-values-interpolation.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<body>
+<template id="target-template">
+<svg width="90" height="90">
+<defs>
+<filter>
+<feColorMatrix type="matrix" class="target" />
+</filter>
+</defs>
+</svg>
+</template>
+<script src="resources/interpolation-test.js"></script>
+<script>
+'use strict';
+assertAttributeInterpolation({
+ property: 'values',
+ from: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -20',
+ to: '11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -30'
+}, [
+ {at: -0.4, is: '-3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, -16'},
+ {at: 0, is: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -20'},
+ {at: 0.2, is: '3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, -22'},
+ {at: 0.6, is: '7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -26'},
+ {at: 1, is: '11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -30'},
+ {at: 1.4, is: '15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, -34'}
+]);
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698