diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2019-05-15 10:40:54 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-05-15 12:27:06 -0400 |
commit | edff458e23aa536dc6d766148dc2ff0e93096f42 (patch) | |
tree | 33c5e75ccb64064cb3fe6a85c8a1926a21cb4da0 /tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html | |
parent | 6f8bb4dd404f7e1cea4c3f0465c4cc77cfc339c4 (diff) | |
download | servo-edff458e23aa536dc6d766148dc2ff0e93096f42.tar.gz servo-edff458e23aa536dc6d766148dc2ff0e93096f42.zip |
Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html index 43cff0dbe28..94013c6423c 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html @@ -93,7 +93,6 @@ assert_valid("banan\\61", "banana"); assert_valid("<custom-ident>", "banan\\61"); assert_valid("big | bigger | BIGGER", "bigger"); assert_valid("foo+|bar", "foo foo foo"); -assert_valid("default", "default"); assert_valid("banana\t", "banana"); assert_valid("\nbanana\r\n", "banana"); @@ -137,17 +136,30 @@ assert_invalid("||", "banana"); assert_invalid("initial", "initial"); assert_invalid("inherit", "inherit"); assert_invalid("unset", "unset"); +assert_invalid("revert", "revert"); +assert_invalid("default", "default"); assert_invalid("<length>|initial", "10px"); assert_invalid("<length>|INHERIT", "10px"); assert_invalid("<percentage>|unsEt", "2%"); +assert_invalid("<color>|REVert", "red"); +assert_invalid("<integer>|deFAUlt", "1"); // Invalid initialValue assert_invalid("*", "initial"); assert_invalid("*", "inherit"); assert_invalid("*", "unset"); assert_invalid("*", "revert"); +assert_invalid("*", "default"); assert_invalid("<custom-ident>", "initial"); +assert_invalid("<custom-ident>", "inherit"); +assert_invalid("<custom-ident>", "unset"); +assert_invalid("<custom-ident>", "revert"); +assert_invalid("<custom-ident>", "default"); +assert_invalid("<custom-ident>+", "foo initial bar"); assert_invalid("<custom-ident>+", "foo inherit bar"); +assert_invalid("<custom-ident>+", "foo unset bar"); +assert_invalid("<custom-ident>+", "foo revert bar"); +assert_invalid("<custom-ident>+", "foo default bar"); assert_invalid("*", ")"); assert_invalid("*", "([)]"); |