- From: dragoncoder047 via GitHub <sysbot+gh@w3.org>
- Date: Sat, 26 Aug 2023 20:24:05 +0000
- To: public-css-archive@w3.org
> I don't think this is not the appropriate level of abstraction for CSS.
Do you support my proposal or not? Double-negatives are really confusing...
> * https://prismjs.com/plugins/inline-color/ (unless we allow generated content on `::highlight()`, or expand to more properties)
> * https://prismjs.com/plugins/previewers/
It might be possible to implement something like those using `::before` pseudo elements.
And honestly, I did expect there to be holes in this proposal with regards to interactive content (i.e. beyond simple `:active` or `:hover` styles).
One other use I did think of for this would be a textbook website could include some sort of worker that could apply token styles to all of the terms in the glossary, so they would appear bold (`::token(glossary) { font-weight: bold }`) and then the publisher doesn't have to rebuild the entire book when they update the glossary. Of course, actually liking to the glossary would not be possible with CSS alone.
-- 
GitHub Notification of comment by dragoncoder047
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9247#issuecomment-1694495524 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 26 August 2023 20:24:07 UTC