-
Notifications
You must be signed in to change notification settings - Fork 747
Description
Highlight pseudos are currently not printed, at least in the Chromium implementation.
Considering other pseudos like ::selection
and ::target-text
, it makes sense for these not to show up on printed documents. But for ::highlight
it's less clear. Highlights used for emphasizing parts of the text might be appropriate to print. In some applications highlights could convey specific semantic value, e.g. a language-teaching application might use differently-colored highlights to demonstrate which parts of a sentence are verbs vs adverbs vs adjectives, etc. The user would likely expect these highlights to be printed.
On the other hand, highlights used for custom find-on-page or spellcheck probably shouldn't be printed.
Whatever we decide, we should probably add some clarity about this to the spec.
Thanks @mrego for raising this point.