| Index: third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| similarity index 75%
|
| rename from third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| rename to third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| index d879467f9970acd1c4fd5d3aba88984a483fe973..c1fa8e19b60e6736dd0175d0d60e33e02b04e406 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| @@ -6,19 +6,19 @@
|
|
|
| test(function() {
|
| var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
|
| - assert_throws(null, function() { new Perspective(calcLength) });
|
| + assert_throws(null, function() { new CSSPerspective(calcLength) });
|
| }, "Constructor should throw an error for CSSCalcLengths with a percentage type");
|
|
|
| test(function() {
|
| var simpleLength = new CSSSimpleLength(10, 'percent');
|
| - assert_throws(null, function() { new Perspective(simpleLength) });
|
| + assert_throws(null, function() { new CSSPerspective(simpleLength) });
|
| }, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
|
|
|
| test(function() {
|
| var simpleLength = new CSSSimpleLength(10, 'px');
|
| var calcLength = new CSSCalcLength({px: 10, em: 3.2});
|
| - var perspectiveTransformSimple = new Perspective(simpleLength);
|
| - var perspectiveTransformCalc = new Perspective(calcLength);
|
| + var perspectiveTransformSimple = new CSSPerspective(simpleLength);
|
| + var perspectiveTransformCalc = new CSSPerspective(calcLength);
|
|
|
| assert_equals(perspectiveTransformSimple.cssString, 'perspective(10px)');
|
| assert_equals(perspectiveTransformCalc.cssString,'perspective(calc(3.2em + 10px))');
|
|
|