| Index: third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html b/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| index eac86631917951972ccfb97cf20907b535794f0e..d879467f9970acd1c4fd5d3aba88984a483fe973 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
|
| @@ -5,24 +5,24 @@
|
| <script>
|
|
|
| test(function() {
|
| - var calcLength = new CalcLength({px: 10, percent: 3.2});
|
| + var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
|
| assert_throws(null, function() { new Perspective(calcLength) });
|
| -}, "Constructor should throw an error for CalcLengths with a percentage type");
|
| +}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
|
|
|
| test(function() {
|
| - var simpleLength = new SimpleLength(10, 'percent');
|
| + var simpleLength = new CSSSimpleLength(10, 'percent');
|
| assert_throws(null, function() { new Perspective(simpleLength) });
|
| -}, "Constructor should throw an error for SimpleLengths with a percentage type");
|
| +}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
|
|
|
| test(function() {
|
| - var simpleLength = new SimpleLength(10, 'px');
|
| - var calcLength = new CalcLength({px: 10, em: 3.2});
|
| + 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);
|
|
|
| assert_equals(perspectiveTransformSimple.cssString, 'perspective(10px)');
|
| assert_equals(perspectiveTransformCalc.cssString,'perspective(calc(3.2em + 10px))');
|
| -}, "cssString should return a string of form perspective(<LengthValue.cssString()>)");
|
| +}, "cssString should return a string of form perspective(<CSSLengthValue.cssString()>)");
|
|
|
| </script>
|
|
|
|
|