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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-specularConstant-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 <fespecularlighting class="target" kernelUnitLength="1" /> 6 <fespecularlighting class="target" kernelUnitLength="1" />
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: 'specularConstant', 45 property: 'specularConstant',
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 ]);
57 </script> 58 </script>
58 </body> 59 </body>
59 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698