W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Aug 2021 18:50:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-897885776-1628794244-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC