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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/webkit-column-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-width: 90px; 5 -webkit-column-width: 90px;
6 } 6 }
7 .target { 7 .target {
8 column-width: 20px; 8 column-width: 20px;
9 width: 600px; 9 width: 600px;
10 -webkit-column-gap: 20px; 10 -webkit-column-gap: 20px;
(...skipping 16 matching lines...) Expand all
27 <div class="parent"> 27 <div class="parent">
28 <div class="target"> 28 <div class="target">
29 <div></div><div></div> 29 <div></div><div></div>
30 </div> 30 </div>
31 </div> 31 </div>
32 </template> 32 </template>
33 <script src='resources/interpolation-test.js'></script> 33 <script src='resources/interpolation-test.js'></script>
34 <script> 34 <script>
35 assertInterpolation({ 35 assertInterpolation({
36 property: '-webkit-column-width', 36 property: '-webkit-column-width',
37 from: '', 37 from: neutralKeyframe,
38 to: '40px', 38 to: '40px',
39 }, [ 39 }, [
40 {at: -0.3, is: '1px'}, 40 {at: -0.3, is: '1px'},
41 {at: 0, is: '10px'}, 41 {at: 0, is: '10px'},
42 {at: 0.3, is: '19px'}, 42 {at: 0.3, is: '19px'},
43 {at: 0.6, is: '28px'}, 43 {at: 0.6, is: '28px'},
44 {at: 1, is: '40px'}, 44 {at: 1, is: '40px'},
45 {at: 1.5, is: '55px'}, 45 {at: 1.5, is: '55px'},
46 ]); 46 ]);
47 47
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 {at: 1.5, is: '151px'} 84 {at: 1.5, is: '151px'}
85 ]); 85 ]);
86 86
87 assertNoInterpolation({ 87 assertNoInterpolation({
88 property: '-webkit-column-width', 88 property: '-webkit-column-width',
89 from: 'auto', 89 from: 'auto',
90 to: '100px' 90 to: '100px'
91 }); 91 });
92 </script> 92 </script>
93 </body> 93 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698