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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/transform-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: 'transform',
6 from: 'translateX(10em)',
7 to: 'translateX(100px)',
8 configurations: [{
9 state: {'font-size': '2px'},
10 expect: [
11 {at: 0.25, is: 'translateX(40px)'},
12 {at: 0.75, is: 'translateX(80px)'},
13 ],
14 }, {
15 state: {'font-size' '6px'},
16 expect: [
17 {at: 0.25, is: 'translateX(70px)'},
18 {at: 0.75, is: 'translateX(90px)'},
19 ],
20 }],
21 });
22
23 assertCSSResponsive({
24 property: 'transform',
25 from: 'inherit',
26 to: 'translateX(100px)',
27 configurations: [{
28 state: {inherited: 'translateX(20px)'},
29 expect: [
30 {at: 0.25, is: 'translateX(40px)'},
31 {at: 0.75, is: 'translateX(80px)'},
32 ],
33 }, {
34 state: {inherited: 'translateY(20px)'},
35 expect: [
36 {at: 0.25, is: 'translate(25px, 15px)'},
37 {at: 0.75, is: 'translate(75px, 5px)'},
38 ],
39 }],
40 });
41 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698