-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add data for anchor position container queries #28526
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -36,6 +36,102 @@ | |||||
| "deprecated": false | ||||||
| } | ||||||
| }, | ||||||
| "anchor_position_queries": { | ||||||
| "__compat": { | ||||||
| "description": "Anchor position queries (`anchored()`)", | ||||||
| "spec_url": "https://drafts.csswg.org/css-anchor-position-2/#anchored-container-queries", | ||||||
| "support": { | ||||||
| "chrome": { | ||||||
| "version_added": "143" | ||||||
| }, | ||||||
| "chrome_android": "mirror", | ||||||
| "edge": "mirror", | ||||||
| "firefox": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "firefox_android": "mirror", | ||||||
| "oculus": "mirror", | ||||||
| "opera": "mirror", | ||||||
| "opera_android": "mirror", | ||||||
| "safari": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "safari_ios": "mirror", | ||||||
| "samsunginternet_android": "mirror", | ||||||
| "webview_android": "mirror", | ||||||
| "webview_ios": "mirror" | ||||||
| }, | ||||||
| "status": { | ||||||
| "experimental": true, | ||||||
| "standard_track": true, | ||||||
| "deprecated": false | ||||||
| } | ||||||
| }, | ||||||
| "fallback": { | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we documenting this (behavioral?) subfeatures?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a behavioral subfeature. It's a named container query "feature" (in media/container queries terminology, not the BCD sense), as in Right now there's only one feature to query against, but it's possible other container query features could exist (e.g.,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add a suffix for clarity?
Suggested change
|
||||||
| "__compat": { | ||||||
| "description": "`fallback` container feature", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given that we're in the context of the
Suggested change
|
||||||
| "spec_url": "https://drafts.csswg.org/css-anchor-position-2/#anchored", | ||||||
caugner marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "support": { | ||||||
| "chrome": { | ||||||
| "version_added": "143" | ||||||
| }, | ||||||
| "chrome_android": "mirror", | ||||||
| "edge": "mirror", | ||||||
| "firefox": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "firefox_android": "mirror", | ||||||
| "oculus": "mirror", | ||||||
| "opera": "mirror", | ||||||
| "opera_android": "mirror", | ||||||
| "safari": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "safari_ios": "mirror", | ||||||
| "samsunginternet_android": "mirror", | ||||||
| "webview_android": "mirror", | ||||||
| "webview_ios": "mirror" | ||||||
| }, | ||||||
| "status": { | ||||||
| "experimental": true, | ||||||
| "standard_track": true, | ||||||
| "deprecated": false | ||||||
| } | ||||||
| }, | ||||||
| "any": { | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we also add a suffix for clarity here? (Unlike CSS properties, it is less obvious that this is a value.)
Suggested change
|
||||||
| "__compat": { | ||||||
| "description": "`fallback` container feature", | ||||||
| "spec_url": "https://drafts.csswg.org/css-anchor-position-2/#anchored", | ||||||
ddbeck marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "support": { | ||||||
| "chrome": { | ||||||
| "version_added": "143" | ||||||
| }, | ||||||
| "chrome_android": "mirror", | ||||||
| "edge": "mirror", | ||||||
| "firefox": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "firefox_android": "mirror", | ||||||
| "oculus": "mirror", | ||||||
| "opera": "mirror", | ||||||
| "opera_android": "mirror", | ||||||
| "safari": { | ||||||
| "version_added": false | ||||||
| }, | ||||||
| "safari_ios": "mirror", | ||||||
| "samsunginternet_android": "mirror", | ||||||
| "webview_android": "mirror", | ||||||
| "webview_ios": "mirror" | ||||||
| }, | ||||||
| "status": { | ||||||
| "experimental": true, | ||||||
| "standard_track": true, | ||||||
| "deprecated": false | ||||||
| } | ||||||
| } | ||||||
| } | ||||||
| } | ||||||
| }, | ||||||
| "scroll-state_queries": { | ||||||
| "__compat": { | ||||||
| "description": "Scroll-state queries", | ||||||
|
|
||||||
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.