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

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

Issue 1450123003: Add SVG animation support to responsive-test.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_responsiveNeutralValueFormat
Patch Set: Review changes 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 assertCSSResponsive({
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 assertCSSResponsive({
24 property: 'left', 24 property: 'left',
25 to: '200px', 25 to: '200px',
26 configurations: [{ 26 configurations: [{
27 state: {underlying: '100px'}, 27 state: {underlying: '100px'},
28 expect: [ 28 expect: [
29 {at: 0.25, is: '125px'}, 29 {at: 0.25, is: '125px'},
30 {at: 0.75, is: '175px'}, 30 {at: 0.75, is: '175px'},
31 ], 31 ],
32 }, { 32 }, {
33 state: {underlying: 'auto'}, 33 state: {underlying: 'auto'},
34 expect: [ 34 expect: [
35 {at: 0.25, is: 'auto'}, 35 {at: 0.25, is: 'auto'},
36 {at: 0.75, is: '200px'}, 36 {at: 0.75, is: '200px'},
37 ], 37 ],
38 }, { 38 }, {
39 state: {underlying: 'inherit', inherited: '100px'}, 39 state: {underlying: 'inherit', inherited: '100px'},
40 expect: [ 40 expect: [
41 {at: 0.25, is: '125px'}, 41 {at: 0.25, is: '125px'},
42 {at: 0.75, is: '175px'}, 42 {at: 0.75, is: '175px'},
43 ], 43 ],
44 }, { 44 }, {
45 state: {underlying: 'inherit', inherited: 'auto'}, 45 state: {underlying: 'inherit', inherited: 'auto'},
46 expect: [ 46 expect: [
47 {at: 0.25, is: 'auto'}, 47 {at: 0.25, is: 'auto'},
48 {at: 0.75, is: '200px'}, 48 {at: 0.75, is: '200px'},
49 ], 49 ],
50 }], 50 }],
51 }); 51 });
52 </script> 52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698