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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-numOctaves-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 <feTurbulence class="target" /> 6 <feTurbulence 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 {at: 0, is: 3}, 53 {at: 0, is: 3},
54 {at: 0.2, is: 4}, 54 {at: 0.2, is: 4},
55 {at: 0.6, is: 5}, 55 {at: 0.6, is: 5},
56 {at: 1, is: 7}, 56 {at: 1, is: 7},
57 {at: 1.4, is: 9} 57 {at: 1.4, is: 9}
58 ]); 58 ]);
59 59
60 assertAttributeInterpolation({ 60 assertAttributeInterpolation({
61 property: 'numOctaves', 61 property: 'numOctaves',
62 underlying: '2', 62 underlying: '2',
63 from: neutralKeyframe,
63 to: '7', 64 to: '7',
64 toComposite: 'replace', 65 toComposite: 'replace',
65 }, [ 66 }, [
66 {at: -0.4, is: 0}, 67 {at: -0.4, is: 0},
67 {at: 0, is: 2}, 68 {at: 0, is: 2},
68 {at: 0.2, is: 3}, 69 {at: 0.2, is: 3},
69 {at: 0.6, is: 5}, 70 {at: 0.6, is: 5},
70 {at: 1, is: 7}, 71 {at: 1, is: 7},
71 {at: 1.4, is: 9} 72 {at: 1.4, is: 9}
72 ]); 73 ]);
73 </script> 74 </script>
74 </body> 75 </body>
75 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698