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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-pointsAtX-pointsAtY-pointsAtZ-composition.html

Issue 1459093002: Make neutral keyframes explicit in SVG attribute interpolation test API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <template id="target-template"> 4 <template id="target-template">
5 <svg width="0" height="0"> 5 <svg width="0" height="0">
6 <feSpotLight class="target" /> 6 <feSpotLight class="target" />
7 </svg> 7 </svg>
8 </template> 8 </template>
9 <script src="../svg-attribute-interpolation/resources/interpolation-test.js"></s cript> 9 <script src="../svg-attribute-interpolation/resources/interpolation-test.js"></s cript>
10 <script> 10 <script>
(...skipping 26 matching lines...) Expand all
37 {at: 0, is: 1}, 37 {at: 0, is: 1},
38 {at: 0.2, is: 3}, 38 {at: 0.2, is: 3},
39 {at: 0.6, is: 7}, 39 {at: 0.6, is: 7},
40 {at: 1, is: 11}, 40 {at: 1, is: 11},
41 {at: 1.4, is: 15}, 41 {at: 1.4, is: 15},
42 ]); 42 ]);
43 43
44 assertAttributeInterpolation({ 44 assertAttributeInterpolation({
45 property: 'pointsAtX', 45 property: 'pointsAtX',
46 underlying: '5', 46 underlying: '5',
47 from: neutralKeyframe,
47 to: '10', 48 to: '10',
48 toComposite: 'replace', 49 toComposite: 'replace',
49 }, [ 50 }, [
50 {at: -0.4, is: 3}, 51 {at: -0.4, is: 3},
51 {at: 0, is: 5}, 52 {at: 0, is: 5},
52 {at: 0.2, is: 6}, 53 {at: 0.2, is: 6},
53 {at: 0.6, is: 8}, 54 {at: 0.6, is: 8},
54 {at: 1, is: 10}, 55 {at: 1, is: 10},
55 {at: 1.4, is: 12}, 56 {at: 1.4, is: 12},
56 ]); 57 ]);
(...skipping 26 matching lines...) Expand all
83 {at: 0, is: 1}, 84 {at: 0, is: 1},
84 {at: 0.2, is: 3}, 85 {at: 0.2, is: 3},
85 {at: 0.6, is: 7}, 86 {at: 0.6, is: 7},
86 {at: 1, is: 11}, 87 {at: 1, is: 11},
87 {at: 1.4, is: 15}, 88 {at: 1.4, is: 15},
88 ]); 89 ]);
89 90
90 assertAttributeInterpolation({ 91 assertAttributeInterpolation({
91 property: 'pointsAtY', 92 property: 'pointsAtY',
92 underlying: '5', 93 underlying: '5',
94 from: neutralKeyframe,
93 to: '10', 95 to: '10',
94 toComposite: 'replace', 96 toComposite: 'replace',
95 }, [ 97 }, [
96 {at: -0.4, is: 3}, 98 {at: -0.4, is: 3},
97 {at: 0, is: 5}, 99 {at: 0, is: 5},
98 {at: 0.2, is: 6}, 100 {at: 0.2, is: 6},
99 {at: 0.6, is: 8}, 101 {at: 0.6, is: 8},
100 {at: 1, is: 10}, 102 {at: 1, is: 10},
101 {at: 1.4, is: 12}, 103 {at: 1.4, is: 12},
102 ]); 104 ]);
(...skipping 26 matching lines...) Expand all
129 {at: 0, is: 1}, 131 {at: 0, is: 1},
130 {at: 0.2, is: 3}, 132 {at: 0.2, is: 3},
131 {at: 0.6, is: 7}, 133 {at: 0.6, is: 7},
132 {at: 1, is: 11}, 134 {at: 1, is: 11},
133 {at: 1.4, is: 15}, 135 {at: 1.4, is: 15},
134 ]); 136 ]);
135 137
136 assertAttributeInterpolation({ 138 assertAttributeInterpolation({
137 property: 'pointsAtZ', 139 property: 'pointsAtZ',
138 underlying: '5', 140 underlying: '5',
141 from: neutralKeyframe,
139 to: '10', 142 to: '10',
140 toComposite: 'replace', 143 toComposite: 'replace',
141 }, [ 144 }, [
142 {at: -0.4, is: 3}, 145 {at: -0.4, is: 3},
143 {at: 0, is: 5}, 146 {at: 0, is: 5},
144 {at: 0.2, is: 6}, 147 {at: 0.2, is: 6},
145 {at: 0.6, is: 8}, 148 {at: 0.6, is: 8},
146 {at: 1, is: 10}, 149 {at: 1, is: 10},
147 {at: 1.4, is: 12}, 150 {at: 1.4, is: 12},
148 ]); 151 ]);
149 </script> 152 </script>
150 </body> 153 </body>
151 </html> 154 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698