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

Side by Side Diff: LayoutTests/animations/interpolation/orphans-interpolation.html

Issue 108663009: orphans and widows should be positive integer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed animations/interpolation/orphans-interpolation.html Created 7 years 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/orphans-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 <body> 2 <body>
3 <style> 3 <style>
4 .target { 4 .target {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 background-color: black; 7 background-color: black;
8 display: inline-block; 8 display: inline-block;
9 } 9 }
10 </style> 10 </style>
11 <script src="resources/interpolation-test.js"></script> 11 <script src="resources/interpolation-test.js"></script>
12 <script> 12 <script>
13 assertInterpolation({ 13 assertInterpolation({
14 property: 'orphans', 14 property: 'orphans',
15 from: '10', 15 from: '10',
16 to: '0' 16 to: '1'
17 }, [ 17 }, [
18 {at: -0.5, is: '15'}, 18 {at: -0.5, is: '15'},
19 {at: 0, is: '10'}, 19 {at: 0, is: '10'},
20 {at: 0.3, is: '7'}, 20 {at: 0.3, is: '7'},
21 {at: 0.7, is: '3'}, 21 {at: 0.7, is: '4'},
22 // Only positive integers are valid 22 // Only positive integers are valid
23 {at: 1, is: '1'}, 23 {at: 1, is: '1'},
24 {at: 1.5, is: '1'} 24 {at: 1.5, is: '1'}
25 ]); 25 ]);
26 </script> 26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/orphans-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698