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

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

Issue 25132005: Web Animations CSS: Handle border-spacing property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove text Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-spacing-interpolation-expected.txt » ('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: 50px;
6 height: 50px;
7 background-color: black;
8 display: inline-block;
9 margin: 18px;
10 border-collapse: separate;
11 }
12 .target td {
13 background-color: white;
14 border: 1px solid orange;
15 width: 10px;
16 height: 10px;
17 }
18 .replica {
19 background-color: green;
20 }
21 </style>
22 <body>
23 <template id="target-template">
24 <table>
25 <tbody>
26 <tr>
27 <td></td>
28 <td></td>
29 </tr>
30 </tbody>
31 </table>
32 </template>
33 <script src="resources/interpolation-test.js"></script>
34 <script>
35 assertInterpolation({
36 property: 'border-spacing',
37 from: '0px',
38 to: '10px'
39 }, [
40 {at: -0.3, is: '0px 0px'}, // Can't be negative.
41 {at: 0, is: '0px 0px'},
42 {at: 0.3, is: '3px 3px'},
43 {at: 0.6, is: '6px 6px'},
44 {at: 1, is: '10px 10px'},
45 {at: 1.5, is: '15px 15px'}
46 ]);
47 assertInterpolation({
48 property: '-webkit-border-horizontal-spacing',
49 from: '0px',
50 to: '10px'
51 }, [
52 {at: -0.3, is: '0px'}, // Can't be negative.
53 {at: 0, is: '0px'},
54 {at: 0.3, is: '3px'},
55 {at: 0.6, is: '6px'},
56 {at: 1, is: '10px'},
57 {at: 1.5, is: '15px'}
58 ]);
59 assertInterpolation({
60 property: '-webkit-border-vertical-spacing',
61 from: '0px',
62 to: '10px'
63 }, [
64 {at: -0.3, is: '0px'}, // Can't be negative.
65 {at: 0, is: '0px'},
66 {at: 0.3, is: '3px'},
67 {at: 0.6, is: '6px'},
68 {at: 1, is: '10px'},
69 {at: 1.5, is: '15px'}
70 ]);
71 </script>
72 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-spacing-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698