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

Chrome 133 supports scroll-state container queries #25941

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Feb 17, 2025

Summary

Chrome 133 supports scroll-state container queries. See https://chromestatus.com/feature/5072263730167808.

A data point for the container-type property scroll-state value has already been added previously.

This PR adds data for @container at-rule support for scroll-state queries. I've added a separate sub-data point for the scrollable, snapped, and stuck features. Even though they are all implemented in Chrome at the same time, I think it is a good reminder of the available subfeatures, and other browsers could easily implement them at different rates.

Test results and supporting details

I used the following demos to test the different types of scroll-state container query:

Related issues

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed labels Feb 17, 2025
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but let's add an impl_url for Firefox.

@caugner caugner changed the title add scroll-state queries support data to @container Chrome 133 supports scroll-state container queries Feb 18, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@caugner caugner merged commit 9236f26 into mdn:main Feb 18, 2025
7 checks passed
@mdn-bot mdn-bot mentioned this pull request Feb 18, 2025
@chrisdavidmills chrisdavidmills deleted the scroll-state-container-queries branch February 18, 2025 16:08
ddbeck added a commit to ddbeck/web-features that referenced this pull request Feb 21, 2025
Elchi3 pushed a commit to web-platform-dx/web-features that referenced this pull request Feb 27, 2025
BCD added more detail to this feature.

mdn/browser-compat-data#25941
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:l [PR only] 101-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants