Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function.html

Issue 2867883003: [CSS Typed OM] Delete obsolete number and length classes from Typed OM (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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');
});
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/css-typed-om/styleMap-update-function-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698