[csswg-drafts] [css-contain-4] Extend style query syntax? (#7068)

mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-4] Extend style query syntax? ==
In #6396 we accepted the [current syntax for style queries](https://www.w3.org/TR/css-contain-3/#style-container) using the basic `(property: value)` declaration syntax. That's a good start for properties with discreet values - but there are many use-cases where a more powerful syntax is required:

- For number/size values, we might want to support a range syntax?
- For more complex multi-value properties, we might consider something more like the attribute selector syntax?
- For colors, it might be useful to query their luminosity or contrast in some way?

More discussion and use-cases are in #6396, but we resolved to open a new issue for addressing these questions.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7068 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 17 February 2022 21:14:30 UTC