Index: LayoutTests/animations/interpolation/perspective-interpolation.html |
diff --git a/LayoutTests/animations/interpolation/perspective-interpolation.html b/LayoutTests/animations/interpolation/perspective-interpolation.html |
index 01feb081c6723600dcfbd918d58737a923aaa506..28026f9d44eab5c60c75fc50f321e64fa21ad193 100644 |
--- a/LayoutTests/animations/interpolation/perspective-interpolation.html |
+++ b/LayoutTests/animations/interpolation/perspective-interpolation.html |
@@ -41,5 +41,21 @@ assertInterpolation({ |
{at: 1, is: '100px'}, |
{at: 1.5, is: '125px'} |
]); |
+ |
+// FIXME: flip between length and none (as Firefox does). |
+assertInterpolation({ |
+ property: 'perspective', |
+ from: '50px', |
+ to: 'none' |
+}, [ |
+ {at: -20, is: '1050px'}, |
+ {at: -1, is: '100px'}, |
+ {at: -0.3, is: '65px'}, |
+ {at: 0, is: '50px'}, |
+ {at: 0.3, is: '35px'}, |
+ {at: 0.6, is: '20px'}, |
+ {at: 1, is: 'none'}, |
+ {at: 1.5, is: 'none'} // perspective does not accept 0 or negative values |
+]); |
</script> |
</body> |