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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html

Issue 2662203002: CSS: Rotate support for none and fixed responsive-test.js (Closed)
Patch Set: avoid expectation failure on Mac Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
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 5eadc612e4aa0f45cbc2b0fe6903dcea78b83727..9df7e4793971bd668f77b4b4c940d43dad36820a 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation.html
@@ -23,6 +23,19 @@
<script>
assertInterpolation({
property: 'rotate',
+ from: 'none',
+ to: '30deg',
+}, [
+ {at: -1, is: '-30deg'},
+ {at: 0, is: 'none'},
+ {at: 0.25, is: '7.5deg'},
+ {at: 0.75, is: '22.5deg'},
+ {at: 1, is: '30deg'},
+ {at: 2, is: '60deg'},
+]);
+
+assertInterpolation({
+ property: 'rotate',
from: neutralKeyframe,
to: '30deg',
}, [
@@ -40,7 +53,7 @@ assertInterpolation({
to: '30deg',
}, [
{at: -1, is: '-30deg'},
- {at: 0, is: '0deg'},
+ {at: 0, is: 'none'},
{at: 0.25, is: '7.5deg'},
{at: 0.75, is: '22.5deg'},
{at: 1, is: '30deg'},
@@ -115,14 +128,14 @@ assertInterpolation({
assertInterpolation({
property: 'rotate',
from: '1 1 0 90deg',
- to: '0 1 1 180deg',
+ to: '0 1 1 135deg',
}, [
- {at: -1, is: '0.41 -0.41 -0.82 120deg'},
+ {at: -1, is: '0.67 -0.06 -0.74 124.97deg'},
{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'},
+ {at: 0.25, is: '0.54 0.8 0.26 94.83deg'},
+ {at: 0.75, is: '0.17 0.78 0.61 118.68deg'},
+ {at: 1, is: '0 1 1 135deg'},
+ {at: 2, is: '0.52 -0.29 -0.81 151.04deg'},
]);
assertInterpolation({

Powered by Google App Engine
This is Rietveld 408576698