| Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
|
| index 045c4f21a40977651fd68c4bbef7ac8b31d085bb..e1b9bfe6d69503912ab9fe6b3be6b9d8bc38f298 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
|
| @@ -9,20 +9,20 @@
|
| // Append
|
| test(function() {
|
| assert_throws(new TypeError(), function() {
|
| - testElement.styleMap.append('width', new CSSSimpleLength(60, 'px'));
|
| + testElement.styleMap.append('width', new CSSUnitValue(60, 'px'));
|
| });
|
| }, "Attempting to append to a property that doesn't support multiple values throws");
|
|
|
| test(function() {
|
| // TODO(meade): Use a property that supports multiple values when that is available.
|
| assert_throws(new TypeError(), function() {
|
| - testElement.styleMap.append('width', new CSSNumberValue(70));
|
| + testElement.styleMap.append('width', new CSSUnitValue(70, 'number'));
|
| });
|
| }, "Appending an invalid type to a property throws");
|
|
|
| test(function() {
|
| assert_throws(new TypeError(), function() {
|
| - testElement.styleMap.append('lemons', new CSSNumberValue(6));
|
| + testElement.styleMap.append('lemons', new CSSUnitValue(6, 'number'));
|
| });
|
| }, "Attempting to append to an invalid property throws");
|
|
|
|
|