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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/webkit-column-rule-width-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 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 .parent { 4 .parent {
5 -webkit-column-rule-style: solid; 5 -webkit-column-rule-style: solid;
6 -webkit-column-rule-width: 90px; 6 -webkit-column-rule-width: 90px;
7 } 7 }
8 .target { 8 .target {
9 -webkit-column-count: 2; 9 -webkit-column-count: 2;
10 -webkit-column-rule: 2px solid black; 10 -webkit-column-rule: 2px solid black;
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 </style> 22 </style>
23 <body> 23 <body>
24 <template id="target-template"> 24 <template id="target-template">
25 <div></div><div></div> 25 <div></div><div></div>
26 </template> 26 </template>
27 <script src="resources/interpolation-test.js"></script> 27 <script src="resources/interpolation-test.js"></script>
28 <script> 28 <script>
29 assertInterpolation({ 29 assertInterpolation({
30 property: '-webkit-column-rule-width', 30 property: '-webkit-column-rule-width',
31 from: '', 31 from: neutralKeyframe,
32 to: '40px', 32 to: '40px',
33 }, [ 33 }, [
34 {at: -0.3, is: '1px'}, 34 {at: -0.3, is: '1px'},
35 {at: 0, is: '10px'}, 35 {at: 0, is: '10px'},
36 {at: 0.3, is: '19px'}, 36 {at: 0.3, is: '19px'},
37 {at: 0.6, is: '28px'}, 37 {at: 0.6, is: '28px'},
38 {at: 1, is: '40px'}, 38 {at: 1, is: '40px'},
39 {at: 1.5, is: '55px'}, 39 {at: 1.5, is: '55px'},
40 ]); 40 ]);
41 41
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 }, [ 85 }, [
86 {at: -0.3, is: '0'}, // -webkit-column-rule-width can't be negative. 86 {at: -0.3, is: '0'}, // -webkit-column-rule-width can't be negative.
87 {at: 0, is: '0'}, 87 {at: 0, is: '0'},
88 {at: 0.3, is: '30px'}, 88 {at: 0.3, is: '30px'},
89 {at: 0.6, is: '60px'}, 89 {at: 0.6, is: '60px'},
90 {at: 1, is: '100px'}, 90 {at: 1, is: '100px'},
91 {at: 1.5, is: '150px'}, 91 {at: 1.5, is: '150px'},
92 ]); 92 ]);
93 </script> 93 </script>
94 </body> 94 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698