-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Clarify container queries always use content box (fix #40306) #40450
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
Clarify container queries always use content box (fix #40306) #40450
Conversation
Preview URLs Flaws (12)URL:
(comment last updated: 2025-07-27 02:58:56) |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of making any of these changes, change line 130 to something like
The `<container-condition>` can include one or more boolean size queries, each within a set of parentheses. A size query includes a size descriptor, a value, and — depending on the descriptor — a comparison operator. The queries always measures the [content box](/en-US/docs/Web/CSS/box-edge#content-box) as the comparison. The syntax for including multiple conditions is the same as for [`@media`](/en-US/docs/Web/CSS/@media) size feature queries.
only use bolding when really necessary. When all cases are the same, favor adding a single note rather than repeating text.
…github.com/Shrinivassab/content into 40306-fix-container-box-size-clarification
Sure. I revered the changes and added your suggestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🎉
Description
Clarified that all container size queries measure the content box, ignoring
box-sizing
.Motivation
Additional details
Related issues and pull requests
Fixes #40306