- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Feb 2024 00:56:34 +0000
- To: public-css-archive@w3.org
> A model with less load could be to inherit: > > * custom properties from the originating element > * [standard] properties from the highlight tree > > The root highlights would still inherit custom properties from :root in this model. I agree this idea makes sense. But the inheritance path in [the example that follows](https://github.com/w3c/csswg-drafts/issues/9909#issuecomment-1948815805) doesn't. E.g. `color` and `background-color` need to inherit purely through the highlight pseudo-tree, without looking to the originating element at all, for things like `section::selection { color: blue; background: yellow; }` to work reasonably. You can't have a random `em { color: red; }` in the middle of the section break selection colors within the `em`. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9909#issuecomment-1967990676 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 February 2024 00:56:35 UTC