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

Unified Diff: third_party/WebKit/LayoutTests/custom-properties/register-property-syntax-parsing-expected.txt

Issue 2375353004: CSS Properties and Values API: Reject CSS-wide keywords in syntax string (Closed)
Patch Set: moo Created 4 years, 3 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/custom-properties/register-property-syntax-parsing-expected.txt
diff --git a/third_party/WebKit/LayoutTests/custom-properties/register-property-syntax-parsing-expected.txt b/third_party/WebKit/LayoutTests/custom-properties/register-property-syntax-parsing-expected.txt
index 7923fbfc1752aa7b793fae5a4ec52210bc0fbd05..444abd0b8c1ba4e8c565a32f2bd2b21c4cc5d8a9 100644
--- a/third_party/WebKit/LayoutTests/custom-properties/register-property-syntax-parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/custom-properties/register-property-syntax-parsing-expected.txt
@@ -73,9 +73,10 @@ PASS syntax:'<length>++', initialValue:'10px' is invalid
PASS syntax:'<length> | *', initialValue:'10px' is invalid
PASS syntax:'*|banana', initialValue:'banana' is invalid
PASS syntax:'*+', initialValue:'banana' is invalid
-FAIL syntax:'initial', initialValue:'initial' is invalid assert_throws: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue})" did not throw
-FAIL syntax:'<length>|initial', initialValue:'10px' is invalid assert_throws: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue})" did not throw
-FAIL syntax:'<length>|INHERIT', initialValue:'10px' is invalid assert_throws: function "() => CSS.registerProperty({name: name, syntax: syntax, initialValue: initialValue})" did not throw
+PASS syntax:'initial', initialValue:'initial' is invalid
+PASS syntax:'<length>|initial', initialValue:'10px' is invalid
+PASS syntax:'<length>|INHERIT', initialValue:'10px' is invalid
+PASS syntax:'<percentage>|defAult', initialValue:'2%' is invalid
PASS syntax:'*', initialValue:'initial' is invalid
PASS syntax:'*', initialValue:'inherit' is invalid
PASS syntax:'*', initialValue:'unset' is invalid

Powered by Google App Engine
This is Rietveld 408576698