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

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

Issue 54123007: Web Animations CSS: Fix clamping to non-negative values for BorderImageLength (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix bug with clampTo() Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-image-outset-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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 .target { 4 .target {
5 width: 50px; 5 width: 50px;
6 height: 50px; 6 height: 50px;
7 background-color: black; 7 background-color: black;
8 display: inline-block; 8 display: inline-block;
9 border: 25px; 9 border: 25px;
10 margin-right: 50px; 10 margin-right: 50px;
(...skipping 21 matching lines...) Expand all
32 {at: 0.4, is: '2px'}, 32 {at: 0.4, is: '2px'},
33 {at: 0.5, is: '2.5px'}, 33 {at: 0.5, is: '2.5px'},
34 {at: 0.6, is: '3px'}, 34 {at: 0.6, is: '3px'},
35 {at: 0.7, is: '3.5px'}, 35 {at: 0.7, is: '3.5px'},
36 {at: 0.8, is: '4px'}, 36 {at: 0.8, is: '4px'},
37 {at: 0.9, is: '4.5px'}, 37 {at: 0.9, is: '4.5px'},
38 {at: 1, is: '5px'}, 38 {at: 1, is: '5px'},
39 {at: 1.5, is: '7.5px'}, 39 {at: 1.5, is: '7.5px'},
40 {at: 10, is: '50px'} 40 {at: 10, is: '50px'}
41 ]); 41 ]);
42 assertInterpolation({
43 property: 'border-image-outset',
44 from: '0',
45 to: '5',
46 }, [
47 {at: -0.3, is: '0'}, // CSS border-image-outset can't be negative.
48 {at: 0, is: '0'},
49 {at: 0.1, is: '0.5'},
50 {at: 0.2, is: '1'},
51 {at: 0.3, is: '1.5'},
52 {at: 0.4, is: '2'},
53 {at: 0.5, is: '2.5'},
54 {at: 0.6, is: '3'},
55 {at: 0.7, is: '3.5'},
56 {at: 0.8, is: '4'},
57 {at: 0.9, is: '4.5'},
58 {at: 1, is: '5'},
59 {at: 1.5, is: '7.5'},
60 {at: 10, is: '50'}
61 ]);
42 </script> 62 </script>
43 </body> 63 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-image-outset-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698