| Index: third_party/WebKit/LayoutTests/typedcssom/lengthValue.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html b/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html
|
| index d63254c98507d2fe8c5b3681058bc1f3e26075d7..760415b89870d9532e5e590eff1855527e5b77c8 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html
|
| @@ -4,18 +4,18 @@
|
| <script>
|
|
|
| test(function() {
|
| - var result = LengthValue.fromValue(5, 'px');
|
| + var result = LengthValue.from(5, 'px');
|
| assert_true(result instanceof SimpleLength);
|
| assert_equals(result.value, 5);
|
| assert_equals(result.type, 'px');
|
| -}, "Test that LengthValue's static fromValue method produces a SimpleLength.");
|
| +}, "Test that LengthValue's static from(double value, LengthType type) method produces a SimpleLength.");
|
|
|
| test(function() {
|
| - var result = LengthValue.fromDictionary({px: 1, percent: 2.5});
|
| + var result = LengthValue.from({px: 1, percent: 2.5});
|
| assert_true(result instanceof CalcLength);
|
| assert_equals(result.px, 1);
|
| assert_equals(result.percent, 2.5);
|
| -}, "Test that LengthValue's static fromDictionary method produces a CalcLength.");
|
| +}, "Test that LengthValue's static from(CalcDictionary dictionary) method produces a CalcLength.");
|
|
|
| </script>
|
| <body>
|
|
|