[css-values] custom-idents and excluded keywords


in the CSS Values spec [1] we could find the following sentence:
"This generic data type is denoted by <custom-ident>, and represents
 any valid CSS identifier that would not be misinterpreted as a
 pre-defined keyword in that property’s value definition."

But a few lines later it says:
"Specifications using <custom-ident> must specify clearly what other
 keywords are excluded from <custom-ident>, if any—for example by
 saying that any pre-defined keywords in that property’s value
 definition are excluded."

For example in the case of the CSS Grid Layout spec, it's not specified
which keywords are excluded in the different properties that use
<custom-ident> (for example the track sizing properties [2]).
However, in a previous thread [3] Tab said that "minmax", "auto" and
"subgrid" were not valid <custom-ident>.

The question is if the CSS Grid Layout spec needs to be updated to
specify the excluded keywords. Or the 2nd sentence above from the CSS
Values spec needs to be removed/reworded.


[1] https://drafts.csswg.org/css-values-3/#custom-idents
[2] https://drafts.csswg.org/css-grid/#track-sizing
[3] https://lists.w3.org/Archives/Public/www-style/2014Feb/0761.html

Received on Thursday, 17 March 2016 08:51:39 UTC