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

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

Issue 1181253006: Add test for style responsive animation behaviour (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Renamed transition to stateTransition to avoid confusion with CSS Transitions Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/animations/responsive/resources/responsive-test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/responsive-test.js"></script>
3 <script>
4 assertResponsive({
5 property: 'left',
6 from: 'inherit',
7 to: '100px',
8 configurations: [{
9 state: {inherited: '0px'},
10 expect: [
11 {at: 0.25, is: '25px'},
12 {at: 0.75, is: '75px'},
13 ],
14 }, {
15 state: {inherited: 'auto'},
16 expect: [
17 {at: 0.25, is: 'auto'},
18 {at: 0.75, is: '100px'},
19 ],
20 }],
21 });
22
23 assertResponsive({
24 property: 'left',
25 from: '',
26 to: '100px',
27 configurations: [{
28 state: {underlying: '0px'},
29 expect: [
30 {at: 0.25, is: '25px'},
31 {at: 0.75, is: '75px'},
32 ],
33 }, {
34 state: {underlying: 'auto'},
35 expect: [
36 {at: 0.25, is: 'auto'},
37 {at: 0.75, is: '100px'},
38 ],
39 }, {
40 state: {underlying: 'inherit', inherited: '0px'},
41 expect: [
42 {at: 0.25, is: '25px'},
43 {at: 0.75, is: '75px'},
44 ],
45 }, {
46 state: {underlying: 'inherit', inherited: 'auto'},
47 expect: [
48 {at: 0.25, is: 'auto'},
49 {at: 0.75, is: '100px'},
50 ],
51 }],
52 });
53 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/responsive/resources/responsive-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698