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

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

Issue 1909233002: Spec-compliant parsing and initial values for 'orphans' and 'widows'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some unit tests had non-conformant widphans assumptions too. Created 4 years, 8 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/editing/pasteboard/data-transfer-items-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 .parent { 4 .parent {
5 widows: 30; 5 widows: 30;
6 } 6 }
7 .target { 7 .target {
8 widows: 10; 8 widows: 10;
9 } 9 }
10 </style> 10 </style>
(...skipping 15 matching lines...) Expand all
26 ]); 26 ]);
27 27
28 assertInterpolation({ 28 assertInterpolation({
29 property: 'widows', 29 property: 'widows',
30 from: 'initial', 30 from: 'initial',
31 to: '20', 31 to: '20',
32 }, [ 32 }, [
33 {at: -3, is: '1'}, 33 {at: -3, is: '1'},
34 {at: -2.5, is: '1'}, 34 {at: -2.5, is: '1'},
35 {at: -0.5, is: '1'}, 35 {at: -0.5, is: '1'},
36 {at: 0, is: '1'}, 36 {at: 0, is: '2'},
37 {at: 0.3, is: '7'}, 37 {at: 0.3, is: '7'},
38 {at: 0.6, is: '12'}, 38 {at: 0.6, is: '13'},
39 {at: 1, is: '20'}, 39 {at: 1, is: '20'},
40 {at: 1.5, is: '30'}, 40 {at: 1.5, is: '29'},
41 ]); 41 ]);
42 42
43 assertInterpolation({ 43 assertInterpolation({
44 property: 'widows', 44 property: 'widows',
45 from: 'inherit', 45 from: 'inherit',
46 to: '20', 46 to: '20',
47 }, [ 47 }, [
48 {at: -3, is: '60'}, 48 {at: -3, is: '60'},
49 {at: -2.5, is: '55'}, 49 {at: -2.5, is: '55'},
50 {at: -0.5, is: '35'}, 50 {at: -0.5, is: '35'},
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 {at: -3.0, is: '1'}, 93 {at: -3.0, is: '1'},
94 {at: -2.5, is: '1'}, 94 {at: -2.5, is: '1'},
95 {at: -0.5, is: '1'}, 95 {at: -0.5, is: '1'},
96 {at: 0, is: '2'}, 96 {at: 0, is: '2'},
97 {at: 0.3, is: '3'}, 97 {at: 0.3, is: '3'},
98 {at: 0.6, is: '3'}, 98 {at: 0.6, is: '3'},
99 {at: 1, is: '4'}, 99 {at: 1, is: '4'},
100 {at: 1.5, is: '5'} 100 {at: 1.5, is: '5'}
101 ]); 101 ]);
102 </script> 102 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698