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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/font-weight-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 <style> 2 <style>
3 @font-face { 3 @font-face {
4 font-family: 'WebKit WeightWatcher'; 4 font-family: 'WebKit WeightWatcher';
5 font-weight: 100; 5 font-weight: 100;
6 src: url('../../resources/WebKitWeightWatcher100.ttf'); 6 src: url('../../resources/WebKitWeightWatcher100.ttf');
7 } 7 }
8 @font-face { 8 @font-face {
9 font-family: 'WebKit WeightWatcher'; 9 font-family: 'WebKit WeightWatcher';
10 font-weight: 200; 10 font-weight: 200;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 .expected { 58 .expected {
59 color: green; 59 color: green;
60 margin-right: 30px; 60 margin-right: 30px;
61 } 61 }
62 </style> 62 </style>
63 <template id="target-template">A</template> 63 <template id="target-template">A</template>
64 <script src="resources/interpolation-test.js"></script> 64 <script src="resources/interpolation-test.js"></script>
65 <script> 65 <script>
66 assertInterpolation({ 66 assertInterpolation({
67 property: 'font-weight', 67 property: 'font-weight',
68 from: '', 68 from: neutralKeyframe,
69 to: '900', 69 to: '900',
70 }, [ 70 }, [
71 {at: -0.3, is: '600'}, 71 {at: -0.3, is: '600'},
72 {at: 0, is: 'bold'}, 72 {at: 0, is: 'bold'},
73 {at: 0.3, is: '800'}, 73 {at: 0.3, is: '800'},
74 {at: 0.5, is: '800'}, 74 {at: 0.5, is: '800'},
75 {at: 0.6, is: '800'}, 75 {at: 0.6, is: '800'},
76 {at: 1, is: '900'}, 76 {at: 1, is: '900'},
77 {at: 1.5, is: '900'}, 77 {at: 1.5, is: '900'},
78 ]); 78 ]);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 {at: 0.90/8, is: '200'}, 141 {at: 0.90/8, is: '200'},
142 {at: 7.10/8, is: '800'}, 142 {at: 7.10/8, is: '800'},
143 {at: 7.49/8, is: '800'}, 143 {at: 7.49/8, is: '800'},
144 {at: 7.50/8, is: '900'}, 144 {at: 7.50/8, is: '900'},
145 {at: 7.51/8, is: '900'}, 145 {at: 7.51/8, is: '900'},
146 146
147 {at: -0.1, is: '100'}, 147 {at: -0.1, is: '100'},
148 {at: 1.1, is: '900'}, 148 {at: 1.1, is: '900'},
149 ]); 149 ]);
150 </script> 150 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698