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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.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_getProperties.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
index fb7226660ca2f509e1b90ac7825cb5dc8bb2c9d9..d30f2197b60d0ddd7e799d7ac4fb1a1cc4ad4ce6 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
@@ -13,12 +13,12 @@ test(function() {
test(function() {
testElement.style = '';
- testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
}, "getProperties returns the name of a property if it is set");
test(function() {
- testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
testElement.styleMap.get('height');
@@ -26,7 +26,7 @@ test(function() {
}, "Accessing another property doesn't add a spurious result");
test(function() {
- testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
testElement.styleMap.delete('width');
@@ -34,10 +34,10 @@ test(function() {
}, "property name does not appear in result after deletion");
test(function() {
- testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSUnitValue(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
- testElement.styleMap.set('border-top-width', new CSSSimpleLength(10, 'px'));
+ testElement.styleMap.set('border-top-width', new CSSUnitValue(10, 'px'));
var result = testElement.styleMap.getProperties();
// TODO(meade): The spec should describe an order for this.
assert_equals(result.length, 2);

Powered by Google App Engine
This is Rietveld 408576698