- From: Sanket Joshi via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 Jun 2021 06:44:04 +0000
- To: public-css-archive@w3.org
Since ::highlight targets author-defined highlights rather than UA-defined highlights, I don't think UAs should define any styles for ::highlight in their default stylesheets. It's also actually not possible to do this since ::highlight requires a highlight name to be passed and there's no way to write a rule that targets all ::highlight pseudos. The default styles should just be inherited from the originating element. I do agree that we should mention this explicitly in the spec though. -- GitHub Notification of comment by sanketj Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6375#issuecomment-859321352 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 11 June 2021 06:44:53 UTC