| Index: third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html b/third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html
|
| index 4ca5e0ee914919c128fa7b41fe11fb72c1f6d0b9..5af1b2c27702b4181c2817d49857f7ed5231c86f 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html
|
| @@ -9,7 +9,7 @@
|
| <div id="log"></div>
|
| <script>
|
| test(function() {
|
| - element.styleMap.set('width', new CSSSimpleLength(42, 'px'));
|
| + element.styleMap.set('width', new CSSUnitValue(42, 'px'));
|
| element.styleMap.update('width', length => new CSSSimpleLength(length.value + 20, length.type))
|
| assert_equals(element.styleMap.get('width').value, 62, 'update expected to apply callback to old value in map');
|
| });
|
|
|