You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-grid] Is span keyword excluded from Named Grid Lines <custom-ident>? #494
Wow, that's it, but I didn't and wouldn't expect to see the explanation that far (7.2->9.3).
Per exceptio probat regulam, should I assume that all following occurrences of <custom-ident> (for example in 9.4) could potential contain span (it's not say they cannot) or are they just references to this specific instance of <custom-ident> that could not.
If the latter why can we cay that for in all cases <custom-ident> excludes span and if we say so I would rather provide such exception where we introduce it for the first time, not somewhere in the middle.
In <line-names>, the <custom-ident> additionally excludes the keyword span
But maybe to avoid such confusion, and changing/adding a meaning retrospectively by ."In all the above productions". We could use just (already specified) <line-names> (for all <custom-ident> excluding the keyword span).
Specifications using must specify clearly what other keywords are excluded from , if any—for example by saying that any pre-defined keywords in that property’s value definition are excluded.
Which is a conformance criterium on specs, not on implementations. ;)
We can't use <<line-names>> in place of <<custom-ident>> in section 9 because it includes the surrounding brackets, which aren't included as part of the value syntax in grid-area and its longhands.
I tweaked the wording of the statement a bit and move it into the line names section, let me know if that helps.
Activity
tomalec commentedon Sep 17, 2016
Or are following valid?
mrego commentedon Sep 19, 2016
I believe this is already covered at the end of the section:
tomalec commentedon Sep 19, 2016
Wow, that's it, but I didn't and wouldn't expect to see the explanation that far (7.2->9.3).
Per exceptio probat regulam, should I assume that all following occurrences of
<custom-ident>(for example in 9.4) could potential containspan(it's not say they cannot) or are they just references to this specific instance of<custom-ident>that could not.If the latter why can we cay that for in all cases
<custom-ident>excludesspanand if we say so I would rather provide such exception where we introduce it for the first time, not somewhere in the middle.tomalec commentedon Sep 19, 2016
My bad, sorry, It was mentioned closer, in 7.2.
But maybe to avoid such confusion, and changing/adding a meaning retrospectively by ."In all the above productions". We could use just (already specified)
<line-names>(for all<custom-ident>excluding the keyword span).(Note, I'm willing to prepare PR if needed ;) )
MatsPalmgren commentedon Sep 19, 2016
I think this general clause in [css-values] applies:
https://www.w3.org/TR/css3-values/#custom-idents
mrego commentedon Sep 20, 2016
A few lines later the [css-values] spec says:
BTW, I remember a thread about this topic.
[css-grid] Put line-name exclusion in section defining line names. Is…
fantasai commentedon Sep 20, 2016
Which is a conformance criterium on specs, not on implementations. ;)
We can't use
<<line-names>>in place of<<custom-ident>>in section 9 because it includes the surrounding brackets, which aren't included as part of the value syntax ingrid-areaand its longhands.I tweaked the wording of the statement a bit and move it into the line names section, let me know if that helps.
tomalec commentedon Sep 21, 2016
Thanks :)
Merge pull request #494 from danielsakhapov/ray_size_optional