Re: [csswg-drafts] [css-pseudo-4] Add a pseudo-element to style all highlight pseudo-elements (#9091)

As @tabatkins mentioned in https://github.com/w3c/csswg-drafts/issues/6641#issuecomment-1006172908 this is a much broader issue than highlights. The real author need here is to be able to define document-wide custom property values that are available everywhere.

I think instead of introducing more ad-hoc pseudo-elements, we should introduce a pseudo-element or `@rule` that allows this. Or adopt @tabatkins’s proposal and special case the root, paving the cowpaths.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9091#issuecomment-1967176367 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 17:07:44 UTC