You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSS Scroll State Container Queries [css-conditional-5] #261
This is a request for position on adding various (scroll-)state based container queries described in the provided explainer and specified in the css-conditional-5 specification.
Reacted by Zihua Li, Fin Chen, rnaxu, Phil Wolstenholme, Luke Deen Taylor, Nilesh Prajapati, Jeduan Cornejo, Sơn Trần-Nguyễn, Việt Huỳnh, Yisi and 3 more
It can resolve a long-standing problem: detecting whether an element is overflowing.
We can't accurately detect the scrollable state of an overflow: auto element.
It can be changed in many cases: resize, child elements changes, element attribute changes, etc.
Activity
[-]CSS State Container Queries [css-contain-4][/-][+]CSS Scroll State Container Queries [css-conditional-5][/+]nileshprajapati commentedon Dec 17, 2025
Chrome has implemented CSS Scroll State Container Queries in version 133.
https://developer.chrome.com/release-notes/133
Could you provide Safari's position on this?
woody-li commentedon Mar 2, 2026
It can resolve a long-standing problem: detecting whether an element is overflowing.
We can't accurately detect the
scrollablestate of anoverflow: autoelement.It can be changed in many cases: resize, child elements changes, element attribute changes, etc.
With
Scroll StateQueries, it can be very easy:Hope it can be implemented in Safari.
woody-li commentedon May 22, 2026
See also:
https://bugs.webkit.org/show_bug.cgi?id=313234
https://bugs.webkit.org/show_bug.cgi?id=314082