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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html

Issue 1957213002: Typed CSSOM: Rename NumberValue to CSSNumberValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix inline style tests Created 4 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_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 5a3fea16c7362ab85cf7b075255f244f57f6bfa4..2b9190567bb0a791920c4127a07fc7e7c441512a 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_append.html
@@ -16,13 +16,13 @@ test(function() {
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 NumberValue(70));
+ testElement.styleMap.append('width', new CSSNumberValue(70));
});
}, "Appending an invalid type to a property throws");
test(function() {
assert_throws(new TypeError(), function() {
- testElement.styleMap.append('lemons', new NumberValue(6));
+ testElement.styleMap.append('lemons', new CSSNumberValue(6));
});
}, "Attempting to append to an invalid property throws");

Powered by Google App Engine
This is Rietveld 408576698