| 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);
|
|
|