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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/svg-attribute-interpolation/svg-x1-interpolation.html

Issue 1420483003: Rename animations/svg-attribute-interpolation tests to include all tested attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_removePassingTestExpectations
Patch Set: Rebased 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <template id="target-template">
5 <svg width="90" height="90">
6 <line class="target" x1="10" y1="10" x2="60" y2="60" />
7 </svg>
8 </template>
9 <script src="resources/interpolation-test.js"></script>
10 <script>
11 'use strict';
12 assertAttributeInterpolation({
13 property: 'x1',
14 from: 10,
15 to: 60
16 }, [
17 {at: -0.4, is: -10},
18 {at: 0, is: 10},
19 {at: 0.2, is: 20},
20 {at: 0.6, is: 40},
21 {at: 1, is: 60},
22 {at: 1.4, is: 80}
23 ]);
24 assertAttributeInterpolation({
25 property: 'x2',
26 from: 10,
27 to: 60
28 }, [
29 {at: -0.4, is: -10},
30 {at: 0, is: 10},
31 {at: 0.2, is: 20},
32 {at: 0.6, is: 40},
33 {at: 1, is: 60},
34 {at: 1.4, is: 80}
35 ]);
36 assertAttributeInterpolation({
37 property: 'y1',
38 from: 10,
39 to: 60
40 }, [
41 {at: -0.4, is: -10},
42 {at: 0, is: 10},
43 {at: 0.2, is: 20},
44 {at: 0.6, is: 40},
45 {at: 1, is: 60},
46 {at: 1.4, is: 80}
47 ]);
48 assertAttributeInterpolation({
49 property: 'y2',
50 from: 10,
51 to: 60
52 }, [
53 {at: -0.4, is: -10},
54 {at: 0, is: 10},
55 {at: 0.2, is: 20},
56 {at: 0.6, is: 40},
57 {at: 1, is: 60},
58 {at: 1.4, is: 80}
59 ]);
60 </script>
61 </body>
62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698