Re: [csswg-drafts] [css-grid-2] Clamp out-of-range subgrid items before or after auto placement? (#8494)

I think the ambiguity for me is the word "placed" in the above quote. If "placed" always refers to the auto-placement algorithm, then it's not ambiguous and must be clamped during placement as you described. 

However, if "placed" is referring to the content author specifying an out-of-range index, I think it's still ambiguous. And the real heart of this question is *when* the out-of-range index should be clamped. In both scenarios (subgrids and going beyond a UA limit), there is a predetermined limit, so clamping could happen before, during, or after auto placement, and in the example above, the final placement result will differ based on when this occurs.

The spec seems to use "placement" as both auto placement *and* author-specified indices that go out of range:

https://w3c.github.io/csswg-drafts/css-grid/#overview-placement

"They can be explicitly placed using coordinates through the [grid-placement properties](https://w3c.github.io/csswg-drafts/css-grid/#grid-placement-property) or implicitly placed into empty areas using [auto-placement](https://w3c.github.io/csswg-drafts/css-grid/#auto-placement)."

https://w3c.github.io/csswg-drafts/css-grid/#placement

"allow the author to specify a [grid item](https://w3c.github.io/csswg-drafts/css-grid/#grid-item)’s [placement](https://w3c.github.io/csswg-drafts/css-grid/#grid-placement)"


-- 
GitHub Notification of comment by KurtCattiSchmidt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8494#issuecomment-1457034544 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 March 2023 21:33:42 UTC