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

Side by Side Diff: LayoutTests/animations/svg-attribute-interpolation/svg-z-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 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="90" height="90"> 5 <svg width="90" height="90">
6 <defs> 6 <defs>
7 <filter> 7 <filter>
8 <feConvolveMatrix class="target" /> 8 <fePointLight class="target" />
9 </filter> 9 </filter>
10 </defs> 10 </defs>
11 </svg> 11 </svg>
12 </template> 12 </template>
13 <script src="resources/interpolation-test.js"></script> 13 <script src="resources/interpolation-test.js"></script>
14 <script> 14 <script>
15 'use strict'; 15 'use strict';
16 assertAttributeInterpolation({ 16 assertAttributeInterpolation({
17 property: 'edgeMode', 17 property: 'z',
18 from: 'duplicate', 18 from: '1',
19 to: 'wrap' 19 to: '6'
20 }, [ 20 }, [
21 {at: -0.4, is: 'duplicate'}, 21 {at: -0.4, is: -1},
22 {at: 0, is: 'duplicate'}, 22 {at: 0, is: 1},
23 {at: 0.2, is: 'duplicate'}, 23 {at: 0.2, is: 2},
24 {at: 0.6, is: 'wrap'}, 24 {at: 0.6, is: 4},
25 {at: 1, is: 'wrap'}, 25 {at: 1, is: 6},
26 {at: 1.4, is: 'wrap'} 26 {at: 1.4, is: 8}
27 ]); 27 ]);
28 </script> 28 </script>
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698