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

Side by Side Diff: LayoutTests/animations/interpolation/max-width-interpolation.html

Issue 23462018: CSS Animations: add interpolation test for max-width (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/max-width-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: 100px;
6 height: 100px;
7 background-color: black;
8 display: inline-block;
9 }
10 .replica {
11 background-color: green;
12 }
13 </style>
14 <body>
15 <script src="resources/interpolation-test.js"></script>
16 <script>
17 assertInterpolation({
18 property: 'max-width',
19 from: '0px',
20 to: '100px'
21 }, [
22 {at: -0.5, is: '0'}, // CSS max-width can't be negative.
23 {at: 0, is: '0'},
24 {at: 0.3, is: '30px'},
25 {at: 0.6, is: '60px'},
26 {at: 1, is: '100px'},
27 {at: 1.5, is: '150px'}
28 ]);
29 </script>
30 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/max-width-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698