-
Notifications
You must be signed in to change notification settings - Fork 23k
Open
Labels
Content:CSSCascading Style Sheets docsCascading Style Sheets docs
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment/Container_size_and_style_queries
What specific section or headline is this issue about?
Custom property with a value
What information was incorrect, unhelpful, or incomplete?
"If a style query includes a value for the custom property, the element's computed value for that property must be an exact match"
This is no longer the case, as Chrome now supports range syntax for style queries, aligning with the spec. I think we need to re-work this section to reflect this change.
What did you expect to see?
An example or update that the computed value can be compared via comparison operator and doesn't need to be an exact match.
Do you have any supporting links, references, or citations?
Spec: https://drafts.csswg.org/css-conditional-5/#typedef-style-range
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/css/guides/containment/container_size_and_style_queries - MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Containment/Container_size_and_style_queries
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/guides/containment/container_size_and_style_queries/index.md
- Last commit: 91ff328
- Document last modified: 2025-11-17T07:42:06.000Z
Metadata
Metadata
Assignees
Labels
Content:CSSCascading Style Sheets docsCascading Style Sheets docs