Re: [csswg-drafts] [css-flexbox] Clarify how to resolve flex item padding percentage values before flex container size is resolved (#6510)

Percentage padding is calculated against the available inline space. If this is indefinite, then it resolves to zero during intrinsic sizing and is recalculated during layout, which often can cause overflow. This applies in block layout as well flex and grid. See https://www.w3.org/TR/css-sizing-3/#cyclic-percentage-contribution

Let me know if this answers your question, or if you have further questions or suggestions for clarifications. :)

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


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

Received on Thursday, 12 August 2021 18:50:52 UTC