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

Style Container Queries (for custom properties) #57

Closed
lilles opened this issue Sep 6, 2022 · 2 comments
Closed

Style Container Queries (for custom properties) #57

lilles opened this issue Sep 6, 2022 · 2 comments
Assignees
Labels
from: Bloomberg Proposed, edited, or co-edited by Bloomberg. from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG

Comments

@lilles
Copy link

lilles commented Sep 6, 2022

Request for position on an emerging web specification

Information about the spec

Design reviews and vendor positions

Anything else we need to know

Style queries can be used to style an element based on querying the computed style values of a parent element or a named ancestor element.

Chrome currently has an implementation for custom property queries behind a flag, and it would be good to have separate positions on custom and standard property queries if applicable.

@othermaciej othermaciej added topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG from: Google Proposed, edited, or co-edited by Google. from: Bloomberg Proposed, edited, or co-edited by Bloomberg. labels Sep 25, 2022
@hober hober moved this from Unscreened to Needs position in Standards Positions Review Backlog Mar 23, 2023
@hober hober moved this from Needs position to Needs assignees in Standards Positions Review Backlog Mar 27, 2023
@hober hober moved this from Needs assignees to Needs position in Standards Positions Review Backlog Mar 27, 2023
@nt1m
Copy link
Member

nt1m commented Aug 24, 2023

We are generally supportive of the CSS variables use case. For general CSS properties however, there is currently no concept of computed value equality in WebKit, so the position would depend on how significant the use-cases are, given the less trivial amount of work.

@lilles
Copy link
Author

lilles commented Aug 24, 2023

Regarding standard property queries, I've left a comment here:

w3c/csswg-drafts#7185 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Bloomberg Proposed, edited, or co-edited by Bloomberg. from: Google Proposed, edited, or co-edited by Google. position: support topic: css Spec relates to CSS (Cascading Style Sheets) venue: W3C CSS WG
Development

No branches or pull requests

6 participants