Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-sizing] min/max-content contribution is an outer size, not an inner one #10985

Open
Loirooriol opened this issue Oct 1, 2024 · 0 comments
Labels
css-sizing-3 Current Work

Comments

@Loirooriol
Copy link
Contributor

https://drafts.csswg.org/css-sizing-3/#contributions

And of course the padding/border/margin contribute to the min/max-content size of the containing block, so we need to take them into account.

So this seems wrong: https://drafts.csswg.org/css-sizing-3/#intrinsic-contribution

A box’s min-content contribution/max-content contribution in each axis is the size of the content box of a hypothetical auto-sized float that contains only that box, if that hypothetical float’s containing block is zero-sized/infinitely-sized.

@Loirooriol Loirooriol added the css-sizing-3 Current Work label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-sizing-3 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant