- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Jun 2023 22:17:03 +0000
- To: public-css-archive@w3.org
> How is it definite if it has .wrapper { width: max-content;? The padding is also cyclic so is treated as 0 when determining the min/max-content size of the grid. The padding resolves against the containing-block. When determining the width of the `wrapper` it is resolved against zero - as the containing-block doesn't have a size yet. When determining the width of `grid` (we don't determine the final width of `grid` until *after* we've determined a final size of `wrapper`), we can resolve the padding against the containing-block. It doesn't matter that `wrapper` has `width: max-content` applied. After we've determined the final width of `wrapper` it should behave the same as if it had `width: Npx` applied to it. This is the point being made in comment: https://github.com/w3c/csswg-drafts/issues/8963#issuecomment-1591968925 -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8963#issuecomment-1595379623 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 June 2023 22:17:05 UTC