Conversation
cdoublev
left a comment
There was a problem hiding this comment.
That works for me. It is no longer ambiguous. Thanks!
The requirement to exclude some identifiers from matching <custom-ident> is phrased in various ways across the specs (some examples below), with some inconsistencies like not mentioning ASCII case-insensitivity or excluding identifiers that are already specified as reserved by CSS Values:
When parsing positionally-ambiguous keywords in a property value, a
<custom-ident>production can only claim the keyword if no other unfulfilled production can claim it.
<animateable-feature> = scroll-position | contents | <custom-ident>
The
<custom-ident>production used here excludes the keywordswill-change,none,all,auto,scroll-position, andcontents, in addition to the keywords normally excluded from<custom-ident>.
<container-name> = <custom-ident>
The keywords
none,and,not, andorare excluded from this<custom-ident>.
<counter-name> = <custom-ident>
A
<counter-name>name cannot match the keywordnone; such an identifier is invalid as a<counter-name>.
<counter-style-name> = <custom-ident>
A
<counter-style-name>is a<custom-ident>that is not an ASCII case-insensitive match fornone.
No description provided.