| Index: third_party/WebKit/LayoutTests/typedcssom/positionValue.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/positionValue.html b/third_party/WebKit/LayoutTests/typedcssom/positionValue.html
|
| index cea1d33194284414b63f0733882b894478b614a4..f33cc7ffdd1d0f1ae96f02ec59f86e8822023428 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/positionValue.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/positionValue.html
|
| @@ -5,14 +5,14 @@
|
| <script>
|
|
|
| test(function() {
|
| - assert_equals(new PositionValue(new SimpleLength(50, 'px'),
|
| - new CalcLength({px: -10, em: -3.2, pt: 0})).cssString, '50px calc((-3.2em - 10px) + 0pt)');
|
| - assert_equals(new PositionValue(new SimpleLength(50, 'px'),
|
| - new SimpleLength(2, 'em')).cssString, '50px 2em');
|
| - assert_equals(new PositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
|
| - new CalcLength({px: -10, em: 3.2})).cssString, 'calc((-3.2em - 10px) + 0pt) calc(3.2em - 10px)');
|
| - assert_equals(new PositionValue(new CalcLength({px: -10, em: -3.2, pt: 0}),
|
| - new SimpleLength(10, 'percent')).cssString, 'calc((-3.2em - 10px) + 0pt) 10%');
|
| + assert_equals(new PositionValue(new CSSSimpleLength(50, 'px'),
|
| + new CSSCalcLength({px: -10, em: -3.2, pt: 0})).cssString, '50px calc((-3.2em - 10px) + 0pt)');
|
| + assert_equals(new PositionValue(new CSSSimpleLength(50, 'px'),
|
| + new CSSSimpleLength(2, 'em')).cssString, '50px 2em');
|
| + assert_equals(new PositionValue(new CSSCalcLength({px: -10, em: -3.2, pt: 0}),
|
| + new CSSCalcLength({px: -10, em: 3.2})).cssString, 'calc((-3.2em - 10px) + 0pt) calc(3.2em - 10px)');
|
| + assert_equals(new PositionValue(new CSSCalcLength({px: -10, em: -3.2, pt: 0}),
|
| + new CSSSimpleLength(10, 'percent')).cssString, 'calc((-3.2em - 10px) + 0pt) 10%');
|
| }, "cssString returns a string with the x and y positions cssStrings separated by a space");
|
|
|
| </script>
|
|
|