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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/styleValue-parse-basic.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/styleValue-parse-basic.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/styleValue-parse-basic.html b/third_party/WebKit/LayoutTests/typedcssom/styleValue-parse-basic.html
index 1aba48d518d5a7d39001e80dd4250487868ca7b1..f6819522cf9b1b842dc3a23e6198b36b8529e7f6 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/styleValue-parse-basic.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/styleValue-parse-basic.html
@@ -7,10 +7,10 @@ test(function() {
var result = CSSStyleValue.parse('width', '10px');
assert_not_equals(result, null);
- assert_equals(result.constructor.name, CSSSimpleLength.name);
+ assert_equals(result.constructor.name, CSSUnitValue.name);
assert_equals(result.value, 10);
assert_equals(result.type, 'px');
-}, 'Parsing 10px results in a CSSSimpleLength');
+}, 'Parsing 10px results in a CSSUnitValue');
test(function() {
assert_equals(CSSStyleValue.parse('width', 'hello'), null);

Powered by Google App Engine
This is Rietveld 408576698