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

Side by Side Diff: LayoutTests/animations/svg-attribute-interpolation/svg-filterRes-interpolation.html

Issue 1153403003: Remove SVGFilterElement's filterRes* attributes and setFilterRes() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase + updated smallFonts.svg and textFeatures.svg Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <template id="target-template">
5 <svg xmlns="http://www.w3.org/2000/svg" width="90" height="90">
6 <defs>
7 <filter filterUnits="userSpaceOnUse" x="0" y="0" width="10" height="10" class="t arget" />
8 </defs>
9 </svg>
10 </template>
11 <script src="resources/interpolation-test.js"></script>
12 <script>
13 'use strict';
14 assertAttributeInterpolation({
15 property: 'filterRes',
16 from: '1',
17 to: '6 11'
18 }, [
19 {at: -0.4, is: '0, 0'},
20 {at: 0, is: '1, 1'},
21 {at: 0.2, is: '2, 3'},
22 {at: 0.6, is: '4, 7'},
23 {at: 1, is: '6, 11'},
24 {at: 1.4, is: '8, 15'}
25 ]);
26 assertAttributeInterpolation({
27 property: 'filterRes',
28 from: '5',
29 to: '5 0'
30 }, [
31 {at: -0.4, is: '5, 7'},
32 {at: 0, is: '5, 5'},
33 {at: 0.2, is: '5, 4'},
34 {at: 0.6, is: '5, 2'},
35 {at: 1, is: '5, 0'},
36 {at: 1.4, is: '5, 0'}
37 ]);
38 </script>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698