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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/border-interpolation.html

Issue 2747523002: Web Animations: support cssOffset (Closed)
Patch Set: method Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/offset-interpolation.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="UTF-8">
3 <style>
4 .target {
5 width: 10px;
6 height: 10px;
7 background-color: black;
8 }
9 .expected {
10 background-color: green;
11 }
12 </style>
13 <body>
14 <script src="resources/interpolation-test.js"></script>
15 <script>
16
17 assertInterpolation({
18 property: 'border',
19 from: '10px solid #000',
20 to: '20px dashed #000',
21 method: 'CSS Transitions',
22 }, [
23 {at: -0.3, is: '7px dashed #000'},
24 {at: 0, is: '10px dashed #000'},
25 {at: 0.3, is: '13px dashed #000'},
26 {at: 0.6, is: '16px dashed #000'},
27 {at: 1, is: '20px dashed #000'},
28 {at: 1.5, is: '25px dashed #000'},
29 ]);
30
31 assertInterpolation({
32 property: 'border',
33 from: '10px solid #000',
34 to: '20px dashed #000',
35 method: 'CSS Animations',
36 }, [
37 {at: -0.3, is: '7px solid #000'},
38 {at: 0, is: '10px solid #000'},
39 {at: 0.3, is: '13px solid #000'},
40 {at: 0.6, is: '16px dashed #000'},
41 {at: 1, is: '20px dashed #000'},
42 {at: 1.5, is: '25px dashed #000'},
43 ]);
44
45 assertInterpolation({
46 property: 'border',
47 from: '10px solid #000',
48 to: '20px dashed #000',
49 method: 'Web Animations',
50 }, [
51 {at: -0.3, is: '7px solid #000'},
52 {at: 0, is: '10px solid #000'},
53 {at: 0.3, is: '13px solid #000'},
54 {at: 0.6, is: '16px dashed #000'},
55 {at: 1, is: '20px dashed #000'},
56 {at: 1.5, is: '25px dashed #000'},
57 ]);
58
59 </script>
60 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/offset-interpolation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698