| 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 492d845a673b46bc430ed7ce39088c6c2086217d..61ad98b0ff4f2725012b635a64b541e12801656f 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);
|
|
|
|
|