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

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

Issue 1881333002: Use neutralKeyframe sentinal instead of '' for interpolation-test.js tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix composition test code 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
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>
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: 'widows', 14 property: 'widows',
15 from: '', 15 from: neutralKeyframe,
16 to: '20', 16 to: '20',
17 }, [ 17 }, [
18 {at: -3, is: '1'}, 18 {at: -3, is: '1'},
19 {at: -2.5, is: '1'}, 19 {at: -2.5, is: '1'},
20 {at: -0.5, is: '5'}, 20 {at: -0.5, is: '5'},
21 {at: 0, is: '10'}, 21 {at: 0, is: '10'},
22 {at: 0.3, is: '13'}, 22 {at: 0.3, is: '13'},
23 {at: 0.6, is: '16'}, 23 {at: 0.6, is: '16'},
24 {at: 1, is: '20'}, 24 {at: 1, is: '20'},
25 {at: 1.5, is: '25'}, 25 {at: 1.5, is: '25'},
(...skipping 67 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

Powered by Google App Engine
This is Rietveld 408576698