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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/resources/composited-animations-data/rotate-zero-degrees.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 rotateZeroDegreesTests = {
2 style: 'margin: 5px;',
3 tests: {
4 animateRotateNoFromAxis: {
5 keyframes: [
6 { rotate: '0deg' },
7 { rotate: '90deg 0 1 0' },
8 ],
9 style: 'background: magenta;',
10 samples: getLinearSamples(20, 0, 1)
11 },
12
13 animateRotateNoToAxis: {
14 keyframes: [
15 { rotate: '0deg 1 0 0' },
16 { rotate: '90deg' },
17 ],
18 style: 'background: yellow;',
19 samples: getLinearSamples(20, 0, 1)
20 },
21
22 animateRotateFromZeroUnder360: {
23 keyframes: [
24 { rotate: '0deg 1 0 0' },
25 { rotate: '90deg 0 1 0' },
26 ],
27 style: 'background: cyan;',
28 samples: getLinearSamples(20, 0, 1)
29 },
30
31 animateRotateToZeroUnder360: {
32 keyframes: [
33 { rotate: '90deg 0 1 0' },
34 { rotate: '0deg 1 0 0' },
35 ],
36 style: 'background: indigo;',
37 samples: getLinearSamples(20, 0, 1)
38 },
39
40 animateRotateFromZero: {
41 keyframes: [
42 { rotate: '0deg 1 0 0' },
43 { rotate: '450deg 0 1 0' },
44 ],
45 style: 'background: green;',
46 samples: getLinearSamples(20, 0, 1)
47 },
48
49 animateRotateToZero: {
50 keyframes: [
51 { rotate: '450deg 0 1 0' },
52 { rotate: '0deg 1 0 0' },
53 ],
54 style: 'background: red;',
55 samples: getLinearSamples(20, 0, 1)
56 },
57
58 animateRotateFromAndToZero: {
59 keyframes: [
60 { rotate: '0deg 0 1 0' },
61 { rotate: '0deg 1 0 0' },
62 ],
63 style: 'background: blue;',
64 samples: getLinearSamples(20, 0, 1)
65 },
66 }
67 };
68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698