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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-composition/svg-mode-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 <feBlend class="target" /> 6 <feBlend 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 10 matching lines...) Expand all
21 {at: 0, is: 'screen'}, 21 {at: 0, is: 'screen'},
22 {at: 0.2, is: 'screen'}, 22 {at: 0.2, is: 'screen'},
23 {at: 0.6, is: 'lighten'}, 23 {at: 0.6, is: 'lighten'},
24 {at: 1, is: 'lighten'}, 24 {at: 1, is: 'lighten'},
25 {at: 3.4, is: 'lighten'} 25 {at: 3.4, is: 'lighten'}
26 ]); 26 ]);
27 27
28 assertAttributeInterpolation({ 28 assertAttributeInterpolation({
29 property: 'mode', 29 property: 'mode',
30 underlying: 'multiply' 30 underlying: 'multiply'
31 from: neutralKeyframe,
31 to: 'lighten', 32 to: 'lighten',
32 toComposite: 'replace', 33 toComposite: 'replace',
33 }, [ 34 }, [
34 {at: -2.4, is: 'multiply'}, 35 {at: -2.4, is: 'multiply'},
35 {at: 0, is: 'multiply'}, 36 {at: 0, is: 'multiply'},
36 {at: 0.2, is: 'multiply'}, 37 {at: 0.2, is: 'multiply'},
37 {at: 0.6, is: 'lighten'}, 38 {at: 0.6, is: 'lighten'},
38 {at: 1, is: 'lighten'}, 39 {at: 1, is: 'lighten'},
39 {at: 3.4, is: 'lighten'} 40 {at: 3.4, is: 'lighten'}
40 ]); 41 ]);
41 </script> 42 </script>
42 </body> 43 </body>
43 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698