- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Feb 2024 17:26:32 +0000
- To: public-css-archive@w3.org
I made a demo to understand the current situation: https://codepen.io/leaverou/pen/poBzRVP It looks like custom properties specified on `:root` *are* applied, but nothing below that, even if it contains the entire element. That’s …very unfortunate. With my author hat on, I was planning to base Prism v2 (one of the most popular syntax highlighters on the Web) on the CSS custom highlight API, and this would *severely* restrict what we can do, since different languages need different colors so these cannot just be defined on the root. In fact, I’m not even sure it's still possible. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9909#issuecomment-1967251903 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:26:33 UTC