Re: [csswg-drafts] [CSS Pseudo] Revisit CSS Custom Properties in highlight pseudos (#9909)

That’s why I proposed this:

> I think maybe a general rule for all pseudo-elements could be that they inherit custom properties (only custom ones) from their originating element at the minimum. Specific pseudo elements can then further specify what they do or don’t do.

For highlights, in addition to inheriting custom props from the originating element, they could also walk up the highlight tree in addition to that.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9909#issuecomment-1967349203 using your GitHub account


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

Received on Tuesday, 27 February 2024 18:25:57 UTC