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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/interpolation/font-size-responsive.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase Created 3 years, 5 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 <script src="../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
4 <div id="container"> 4 <div id="container">
5 <div id="target"></div> 5 <div id="target"></div>
6 </div> 6 </div>
7 <script> 7 <script>
8 target.style.fontSize = '140px'; 8 target.style.fontSize = '140px';
9 9
10 function assertAnimationValues(keyword, states) { 10 function assertAnimationValues(keyword, states) {
11 test(() => { 11 test(() => {
12 var animation = target.animate({fontSize: keyword}, 1); 12 var animation = target.animate({fontSize: keyword}, 1);
13 for ({inheritedValue, expectations} of states) { 13 for ({inheritedValue, expectations} of states) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 {at: 0.75, is: '110px'}, 56 {at: 0.75, is: '110px'},
57 ], 57 ],
58 }, { 58 }, {
59 inheritedValue: '240px', 59 inheritedValue: '240px',
60 expectations: [ 60 expectations: [
61 {at: 0.25, is: '155px'}, 61 {at: 0.25, is: '155px'},
62 {at: 0.75, is: '185px'}, 62 {at: 0.75, is: '185px'},
63 ], 63 ],
64 }]); 64 }]);
65 </script> 65 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698