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

Per the original spec text about clamping in <https://w3c.github.io/csswg-drafts/css-grid/#overlarge-grids>, the answer is neither "before" nor "after" auto-placement, it's *during* auto-placement, as each element is placed. The first child is auto-placed, it exceeds the bounds of the grid, and it's clamped to fit. Then the second is placed.

We can't clamp *entirely before* the algo, as the placement algo might, itself, put elements outside the grid area.

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


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

Received on Friday, 24 February 2023 22:08:11 UTC