Index: third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html |
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html |
index 68258376531250f08363748f7e3a4e2762292be4..5eadc612e4aa0f45cbc2b0fe6903dcea78b83727 100644 |
--- a/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html |
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html |
@@ -75,79 +75,79 @@ assertInterpolation({ |
assertInterpolation({ |
property: 'rotate', |
- from: '100deg 0 1 0', |
- to: '-100deg 0 1 0', |
+ from: '0 1 0 100deg', |
+ to: '0 1 0 -100deg', |
}, [ |
- {at: -1, is: '300deg 0 1 0'}, |
- {at: 0, is: '100deg 0 1 0'}, |
- {at: 0.25, is: '50deg 0 1 0'}, |
- {at: 0.75, is: '-50deg 0 1 0'}, |
- {at: 1, is: '-100deg 0 1 0'}, |
- {at: 2, is: '-300deg 0 1 0'}, |
+ {at: -1, is: '0 1 0 300deg'}, |
+ {at: 0, is: '0 1 0 100deg'}, |
+ {at: 0.25, is: '0 1 0 50deg'}, |
+ {at: 0.75, is: '0 1 0 -50deg'}, |
+ {at: 1, is: '0 1 0 -100deg'}, |
+ {at: 2, is: '0 1 0 -300deg'}, |
]); |
assertInterpolation({ |
property: 'rotate', |
- from: '100deg 1 -2.5 3.64', |
- to: '-100deg 1 -2.5 3.64', |
+ from: '1 -2.5 3.64 100deg', |
+ to: '1 -2.5 3.64 -100deg', |
}, [ |
- {at: -1, is: '300deg 1 -2.5 3.64'}, |
- {at: 0, is: '100deg 1 -2.5 3.64'}, |
- {at: 0.25, is: '50deg 1 -2.5 3.64'}, |
- {at: 0.75, is: '-50deg 1 -2.5 3.64'}, |
- {at: 1, is: '-100deg 1 -2.5 3.64'}, |
- {at: 2, is: '-300deg 1 -2.5 3.64'}, |
+ {at: -1, is: '1 -2.5 3.64 300deg'}, |
+ {at: 0, is: '1 -2.5 3.64 100deg'}, |
+ {at: 0.25, is: '1 -2.5 3.64 50deg'}, |
+ {at: 0.75, is: '1 -2.5 3.64 -50deg'}, |
+ {at: 1, is: '1 -2.5 3.64 -100deg'}, |
+ {at: 2, is: '1 -2.5 3.64 -300deg'}, |
]); |
assertInterpolation({ |
property: 'rotate', |
- from: '0deg 1 0 0', |
- to: '10deg 0 1 0', |
+ from: '1 0 0 0deg', |
+ to: '0 1 0 10deg', |
}, [ |
- {at: -1, is: '-10deg 0 1 0'}, |
- {at: 0, is: '0deg 1 0 0'}, |
- {at: 0.25, is: '2.5deg 0 1 0'}, |
- {at: 0.75, is: '7.5deg 0 1 0'}, |
- {at: 1, is: '10deg 0 1 0'}, |
- {at: 2, is: '20deg 0 1 0'}, |
+ {at: -1, is: '0 1 0 -10deg'}, |
+ {at: 0, is: '1 0 0 0deg'}, |
+ {at: 0.25, is: '0 1 0 2.5deg'}, |
+ {at: 0.75, is: '0 1 0 7.5deg'}, |
+ {at: 1, is: '0 1 0 10deg'}, |
+ {at: 2, is: '0 1 0 20deg'}, |
]); |
assertInterpolation({ |
property: 'rotate', |
- from: '90deg 1 1 0', |
- to: '180deg 0 1 1', |
+ from: '1 1 0 90deg', |
+ to: '0 1 1 180deg', |
}, [ |
- {at: -1, is: '120deg 0.41 -0.41 -0.82'}, |
- {at: 0, is: '90deg 1 1 0'}, |
- {at: 0.25, is: '82.76deg 0.8 0.27 -0.53'}, |
- {at: 0.75, is: '138.89deg 0.27 -0.54 -0.8'}, |
- {at: 1, is: '180deg 0 1 1'}, |
- {at: 2, is: '90deg 0.71 0 -0.71'}, |
+ {at: -1, is: '0.41 -0.41 -0.82 120deg'}, |
+ {at: 0, is: '1 1 0 90deg'}, |
+ {at: 0.25, is: '0.8 0.27 -0.53 82.76deg'}, |
+ {at: 0.75, is: '0.27 -0.54 -0.8 138.89deg'}, |
+ {at: 1, is: '0 1 1 180deg'}, |
+ {at: 2, is: '0.71 0 -0.71 90deg'}, |
]); |
assertInterpolation({ |
property: 'rotate', |
- from: '0deg 0 1 0', |
- to: '450deg 1 0 0', |
+ from: '0 1 0 0deg', |
+ to: '1 0 0 450deg', |
}, [ |
- {at: -1, is: '-450deg 1 0 0'}, |
- {at: 0, is: '0deg 0 1 0'}, |
- {at: 0.25, is: '112.5deg 1 0 0'}, |
- {at: 0.75, is: '337.5deg 1 0 0'}, |
- {at: 1, is: '450deg 1 0 0'}, |
- {at: 2, is: '900deg 1 0 0'}, |
+ {at: -1, is: '1 0 0 -450deg'}, |
+ {at: 0, is: '0 1 0 0deg'}, |
+ {at: 0.25, is: '1 0 0 112.5deg'}, |
+ {at: 0.75, is: '1 0 0 337.5deg'}, |
+ {at: 1, is: '1 0 0 450deg'}, |
+ {at: 2, is: '1 0 0 900deg'}, |
]); |
assertInterpolation({ |
property: 'rotate', |
- from: '450deg 1 0 0', |
- to: '0deg 0 1 0', |
+ from: '1 0 0 450deg', |
+ to: '0 1 0 0deg', |
}, [ |
- {at: -1, is: '900deg 1 0 0'}, |
- {at: 0, is: '450deg 1 0 0'}, |
- {at: 0.25, is: '337.5deg 1 0 0'}, |
- {at: 0.75, is: '112.5deg 1 0 0'}, |
- {at: 1, is: '0deg 0 1 0'}, |
- {at: 2, is: '-450deg 1 0 0'}, |
+ {at: -1, is: '1 0 0 900deg'}, |
+ {at: 0, is: '1 0 0 450deg'}, |
+ {at: 0.25, is: '1 0 0 337.5deg'}, |
+ {at: 0.75, is: '1 0 0 112.5deg'}, |
+ {at: 1, is: '0 1 0 0deg'}, |
+ {at: 2, is: '1 0 0 -450deg'}, |
]); |
</script> |