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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/font-size-adjust-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 type="text/css"> 2 <style type="text/css">
3 .container { 3 .container {
4 font-size: 20px; 4 font-size: 20px;
5 line-height: 1; 5 line-height: 1;
6 } 6 }
7 7
8 @font-face { 8 @font-face {
9 font-family : 'testFont'; 9 font-family : 'testFont';
10 src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff"); 10 src : url('../../resources/opensans/OpenSans-Regular.woff') format("woff");
(...skipping 17 matching lines...) Expand all
28 28
29 <template id="target-template"> 29 <template id="target-template">
30 <span class="container"> 30 <span class="container">
31 <div class="target">x</span> 31 <div class="target">x</span>
32 </div> 32 </div>
33 </template> 33 </template>
34 <script src="resources/interpolation-test.js"></script> 34 <script src="resources/interpolation-test.js"></script>
35 <script> 35 <script>
36 assertInterpolation({ 36 assertInterpolation({
37 property: 'font-size-adjust', 37 property: 'font-size-adjust',
38 from: '', 38 from: neutralKeyframe,
39 to: '2', 39 to: '2',
40 }, [ 40 }, [
41 {at: -2, is: '0'}, 41 {at: -2, is: '0'},
42 {at: -0.3, is: '0.7'}, 42 {at: -0.3, is: '0.7'},
43 {at: 0, is: '1'}, 43 {at: 0, is: '1'},
44 {at: 0.3, is: '1.3'}, 44 {at: 0.3, is: '1.3'},
45 {at: 0.6, is: '1.6'}, 45 {at: 0.6, is: '1.6'},
46 {at: 1, is: '2'}, 46 {at: 1, is: '2'},
47 {at: 1.5, is: '2.5'}, 47 {at: 1.5, is: '2.5'},
48 ]); 48 ]);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 }, [ 109 }, [
110 {at: -2, is: '0'}, // CSS font-size-adjust can't be negative. 110 {at: -2, is: '0'}, // CSS font-size-adjust can't be negative.
111 {at: -0.3, is: '0'}, 111 {at: -0.3, is: '0'},
112 {at: 0, is: '0.2'}, 112 {at: 0, is: '0.2'},
113 {at: 0.3, is: '0.5'}, 113 {at: 0.3, is: '0.5'},
114 {at: 0.6, is: '0.8'}, 114 {at: 0.6, is: '0.8'},
115 {at: 1, is: '1.2'}, 115 {at: 1, is: '1.2'},
116 {at: 1.5, is: '1.7'}, 116 {at: 1.5, is: '1.7'},
117 ]); 117 ]);
118 </script> 118 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698