CSS highlight pseudo system #95
Labels
from: Bloomberg
Proposed, edited, or co-edited by Bloomberg.
from: Igalia
Proposed, edited, or co-edited by Igalia.
position: support
topic: css
Spec relates to CSS (Cascading Style Sheets)
venue: W3C CSS WG
Request for position on an emerging web specification
Information about the spec
Design reviews and vendor positions
Bugs tracking this feature
Anything else we need to know
css-pseudo-4 specifies the widely-supported but previously non-standard ::selection as one of several “highlight pseudos”, along with things like spelling/grammar errors and author-defined custom highlights. The highlight pseudos include a more powerful processing model:
This is mostly compatible with older ::selection impls but not completely:
For more details, check out our explainer.
Although this new system is complex, we have successfully implemented it in Blink, and we’re planning to send an intent to ship for it soon. We recently shared our techniques for making it performant at BlinkOn 17. The main Blink features are HighlightOverlayPainting (stable in M105) and HighlightInheritance (stable in M105 for custom highlights only).
The text was updated successfully, but these errors were encountered: