Skip to content

[css-conditional] Add named feature for style queries #10829

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

Open
benface opened this issue Sep 3, 2024 · 4 comments
Open

[css-conditional] Add named feature for style queries #10829

benface opened this issue Sep 3, 2024 · 4 comments
Labels
css-conditional-5 Current Work

Comments

@benface
Copy link

benface commented Sep 3, 2024

Given that the Working Group resolved on adding a named-feature() function that can be used inside @supports in #3559 (comment) and #9875 (comment), I would propose adding a style-queries named feature. Style queries are currently only supported in Chromium browsers and Safari TP.

@mirisuzanne
Copy link
Contributor

@benface can this be closed as unnecessary, given the resolution you linked above?

@benface
Copy link
Author

benface commented Feb 19, 2025

@mirisuzanne, I might be missing something, but I don't think it was decided to add a named feature for style queries?

@mirisuzanne
Copy link
Contributor

Oh, I see we didn't even resolve that issue. I keep being over-optimistic about that one in my memory. I do think a test for at-rule preludes would be the more ideal solution here… but based on the timeframe, it sure wouldn't be the more practical solution.

@benface
Copy link
Author

benface commented Feb 19, 2025

Looks like it was resolved to add a named-feature() function, but the only named feature that I see proposed for now is align-content-on-display-block. I am proposing style-queries, so support could be tested with @supports named-feature(style-queries).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-conditional-5 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants