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

Side by Side Diff: LayoutTests/animations/svg-attribute-interpolation/svg-offset-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <template id="target-template">
5 <svg width="90" height="90">
6 <stop class="target" />
7 </svg>
8 </template>
9 <script src="resources/interpolation-test.js"></script>
10 <script>
11 'use strict';
12 // Note: percentage strings like '10%' are not supported.
13 assertAttributeInterpolation({
14 property: 'offset',
15 from: '-2.5',
16 to: '7.5'
17 }, [
18 {at: -0.4, is: -6.5},
19 {at: 0, is: -2.5},
20 {at: 0.2, is: -0.5},
21 {at: 0.6, is: 3.5},
22 {at: 1, is: 7.5},
23 {at: 1.4, is: 11.5}
24 ]);
25 </script>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698