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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.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
Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html
index 6ceb5967a5ff5d6e10ce21c3703fdc42b737a783..78c75a7eea4d08a52541734cdb22c25eef0aacbb 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html
@@ -8,14 +8,14 @@
test(function() {
// TODO(meade): Make this a test case for a property with multiple values when that is supported.
- testElement.styleMap.set('width', new CSSSimpleLength(90, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(90, 'px'));
var result = testElement.styleMap.getAll('width');
assert_equals(result.length, 1);
assert_equals(result[0].cssText, '90px');
}, "getAll() returns a list of values");
test(function() {
- testElement.styleMap.set('width', new CSSSimpleLength(100, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(100, 'px'));
var lowerResult = testElement.styleMap.getAll('width');
var upperResult = testElement.styleMap.getAll('WIDTH');
var mixedResult = testElement.styleMap.getAll('wIdTh');

Powered by Google App Engine
This is Rietveld 408576698