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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/left-responsive.html

Issue 1444233002: Change responsive-test.js neutral keyframe format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_responsiveHarnessWebAnimations
Patch Set: ebased Created 5 years, 1 month 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/responsive-test.js"></script> 2 <script src="resources/responsive-test.js"></script>
3 <script> 3 <script>
4 assertResponsive({ 4 assertResponsive({
5 property: 'left', 5 property: 'left',
6 from: 'inherit', 6 from: 'inherit',
7 to: '200px', 7 to: '200px',
8 configurations: [{ 8 configurations: [{
9 state: {inherited: '100px'}, 9 state: {inherited: '100px'},
10 expect: [ 10 expect: [
11 {at: 0.25, is: '125px'}, 11 {at: 0.25, is: '125px'},
12 {at: 0.75, is: '175px'}, 12 {at: 0.75, is: '175px'},
13 ], 13 ],
14 }, { 14 }, {
15 state: {inherited: 'auto'}, 15 state: {inherited: 'auto'},
16 expect: [ 16 expect: [
17 {at: 0.25, is: 'auto'}, 17 {at: 0.25, is: 'auto'},
18 {at: 0.75, is: '200px'}, 18 {at: 0.75, is: '200px'},
19 ], 19 ],
20 }], 20 }],
21 }); 21 });
22 22
23 assertResponsive({ 23 assertResponsive({
24 property: 'left', 24 property: 'left',
25 from: '',
26 to: '200px', 25 to: '200px',
27 configurations: [{ 26 configurations: [{
28 state: {underlying: '100px'}, 27 state: {underlying: '100px'},
29 expect: [ 28 expect: [
30 {at: 0.25, is: '125px'}, 29 {at: 0.25, is: '125px'},
31 {at: 0.75, is: '175px'}, 30 {at: 0.75, is: '175px'},
32 ], 31 ],
33 }, { 32 }, {
34 state: {underlying: 'auto'}, 33 state: {underlying: 'auto'},
35 expect: [ 34 expect: [
36 {at: 0.25, is: 'auto'}, 35 {at: 0.25, is: 'auto'},
37 {at: 0.75, is: '200px'}, 36 {at: 0.75, is: '200px'},
38 ], 37 ],
39 }, { 38 }, {
40 state: {underlying: 'inherit', inherited: '100px'}, 39 state: {underlying: 'inherit', inherited: '100px'},
41 expect: [ 40 expect: [
42 {at: 0.25, is: '125px'}, 41 {at: 0.25, is: '125px'},
43 {at: 0.75, is: '175px'}, 42 {at: 0.75, is: '175px'},
44 ], 43 ],
45 }, { 44 }, {
46 state: {underlying: 'inherit', inherited: 'auto'}, 45 state: {underlying: 'inherit', inherited: 'auto'},
47 expect: [ 46 expect: [
48 {at: 0.25, is: 'auto'}, 47 {at: 0.25, is: 'auto'},
49 {at: 0.75, is: '200px'}, 48 {at: 0.75, is: '200px'},
50 ], 49 ],
51 }], 50 }],
52 }); 51 });
53 </script> 52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698