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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/left-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
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/responsive-test.js"></script>
3 <script>
4 assertCSSResponsive({
5 property: 'left',
6 from: 'inherit',
7 to: '200px',
8 configurations: [{
9 state: {inherited: '100px'},
10 expect: [
11 {at: 0.25, is: '125px'},
12 {at: 0.75, is: '175px'},
13 ],
14 }, {
15 state: {inherited: 'auto'},
16 expect: [
17 {at: 0.25, is: 'auto'},
18 {at: 0.75, is: '200px'},
19 ],
20 }],
21 });
22
23 assertCSSResponsive({
24 property: 'left',
25 from: '200px',
26 to: neutralKeyframe,
27 configurations: [{
28 state: {underlying: '100px'},
29 expect: [
30 {at: 0.25, is: '175px'},
31 {at: 0.75, is: '125px'},
32 ],
33 }, {
34 state: {underlying: 'auto'},
35 expect: [
36 {at: 0.25, is: '200px'},
37 {at: 0.75, is: 'auto'},
38 ],
39 }, {
40 state: {underlying: 'inherit', inherited: '100px'},
41 expect: [
42 {at: 0.25, is: '175px'},
43 {at: 0.75, is: '125px'},
44 ],
45 }, {
46 state: {underlying: 'inherit', inherited: 'auto'},
47 expect: [
48 {at: 0.25, is: '200px'},
49 {at: 0.75, is: 'auto'},
50 ],
51 }],
52 });
53 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698