| Index: third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| index 227c78abd5d524b16de925f009abec9eb90d2094..c802639b6f8fcf6046ea18827d7daf321220fce4 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
|
| @@ -5,18 +5,18 @@
|
| <script>
|
|
|
| test(function() {
|
| - var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
|
| + var calcLength = new CSSCalcValue({px: 10, percent: 3.2});
|
| assert_throws(null, function() { new CSSPerspective(calcLength) });
|
| -}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
|
| +}, "Constructor should throw an error for CSSCalcValues with a percentage type");
|
|
|
| test(function() {
|
| - var simpleLength = new CSSSimpleLength(10, 'percent');
|
| + var simpleLength = new CSSUnitValue(10, 'percent');
|
| assert_throws(null, function() { new CSSPerspective(simpleLength) });
|
| -}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
|
| +}, "Constructor should throw an error for CSSUnitValues with a percentage type");
|
|
|
| test(function() {
|
| - var simpleLength = new CSSSimpleLength(10, 'px');
|
| - var calcLength = new CSSCalcLength({px: 10, em: 3.2});
|
| + var simpleLength = new CSSUnitValue(10, 'px');
|
| + var calcLength = new CSSCalcValue({px: 10, em: 3.2});
|
| var perspectiveTransformSimple = new CSSPerspective(simpleLength);
|
| var perspectiveTransformCalc = new CSSPerspective(calcLength);
|
|
|
|
|