Re: [csswg-drafts] [css-grid-2] Resolving padding in indefinite intrinsic size calculation and using that to resolve indefinite size? (#8963)

> I don't think this is something new, I think these should behave the same (like they do on Firefox): https://www.software.hixie.ch/utilities/js/live-dom-viewer/saved/11789

These two tests are pretty different, and aren't really comparable.

> That is, the asymmetry would be because only the horizontal paddings are cyclic.

I don't think the %-padding is cyclic once inside the layout pass of the inner grid, you have a definite width once you work out what the outer "min-content" resolves to, and can resolve the %-padding - which in turn will alter the min-content size of the inner grid. This happens quite often.

This is similar to the 2nd pass logic for height in grid. This will change the min-content size of a box.

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


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

Received on Tuesday, 13 June 2023 23:11:08 UTC