[csswg-drafts] [css-pseudo] `color-scheme` should be an allowed property for highlight pseudos (#11011)

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

== [css-pseudo] `color-scheme` should be an allowed property for highlight pseudos ==
The fact that the `color-scheme` CSS property [is not allowed](https://drafts.csswg.org/css-pseudo-4/#highlight-styling) on highlight pseudo-elements (e.g. `::selection`) has the side effect that the [`light-dark()`](https://drafts.csswg.org/css-color-5/#light-dark) function effectively cannot be used to style highlight pseudos (it will always consider the "light" value). I think it would make sense to just add `color-scheme` to the [list of allowed properties](https://drafts.csswg.org/css-pseudo-4/#highlight-styling), which would make this possible.

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


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

Received on Tuesday, 8 October 2024 20:28:34 UTC