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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/resources/composited-animations-data/translate-rotate-scale.js

Issue 1360233004: Composited Animations: Introduce pixel-ref layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up. Created 5 years, 2 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 var translateRotateScaleTests = {
2 tests: {
3 animateTranslate: {
4 keyframes: [
5 {translate: '0px'},
6 {translate: '600px'}
7 ],
8 style: 'background: darkgreen; float: none;',
9 samples: [
10 {at: 0},
11 {at: 0.15},
12 {at: 0.25},
13 {at: 0.35},
14 {at: 0.5},
15 {at: 0.65},
16 {at: 0.75},
17 {at: 0.85},
18 {at: 1.05},
19 {at: 1.15},
20 ]
21 },
22
23 animateRotate: {
24 keyframes: [
25 {rotate: '-10deg'},
26 {rotate: '470deg'}
27 ],
28 style: 'background: maroon; margin: 5px;',
29 samples: [
30 {at: 0},
31 {at: 0.05},
32 {at: 0.15},
33 {at: 0.25},
34 {at: 0.35},
35 {at: 0.45},
36 {at: 0.5},
37 {at: 0.55},
38 {at: 0.65},
39 {at: 0.75},
40 {at: 0.85},
41 {at: 0.95},
42 {at: 1.05},
43 {at: 1.15},
44 ]
45 },
46
47 animateScale: {
48 keyframes: [
49 {scale: '0.1'},
50 {scale: '1'}
51 ],
52 style: 'background: peru; margin: 5px;',
53 markerStyle: '', // No marker. This mustn't affect cc/blink consistency, c rbug.com/531290
54 samples: [
55 {at: 0},
56 {at: 0.05},
57 {at: 0.15},
58 {at: 0.25},
59 {at: 0.35},
60 {at: 0.45},
61 {at: 0.5},
62 {at: 0.55},
63 {at: 0.65},
64 {at: 0.75},
65 {at: 0.85},
66 {at: 0.95},
67 {at: 1.05},
68 {at: 1.15},
69 ]
70 },
71 }
72 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698