[css-grid] Does <custom-ident> in grid-template-rows/grid-template-columns exclude auto/minmax/subgrid?

Hi www-style,

Question: Should "minmax", "auto", and "subgrid" be accepted as valid
<custom-ident> values, in the <line-names> list for the
grid-template-columns and grid-template-rows properties?

I think the spec currently implies that they should *not* be accepted,
but I want to make sure (because there actually wouldn't be any
ambiguity in parsing these properties if we did accept them, since
they'd be occurring inside of a parenthesized custom-ident-only list,
separate from where we parse the special minmax/auto/subgrid keywords).

FACTS:
 1) The CSS3 Values spec says <custom-ident> "represents any valid CSS
identifier that does not otherwise appear as a pre-defined keyword in
that property's value definition."
   http://dev.w3.org/csswg/css-values/#custom-idents

 2) The keywords "minmax", "auto", and "subgrid" do "appear as
predefined keywords" in the property value definition for
grid-template-rows/grid-template-columns. (Though this depends slightly
on the definition of 'keyword'... minmax() is a *function*, technically,
but I think that means it's also a keyword?)

So, based on (1) and (2), it sounds like they're not valid
<custom-ident> values here. (definitely 'auto' & 'subgrid'; I'm less
sure about 'minmax', due to the function-vs-keyword thing mentioned above)

Please correct me if I'm misunderstanding.

Thanks!
~Daniel

Received on Wednesday, 26 February 2014 01:51:41 UTC