browser-compat-data
browser-compat-data copied to clipboard
Add CSS Highlight Inheritance
(👋 Hi, Chrome DevRel here)
With CSS Highlight Inheritance, the CSS Highlight pseudo classes inherit their properties through the pseudo highlight chain, rather than the element chain.
This applies to all Highlight Pseudo Elements: ::selection
, ::target-text
, ::spelling-error
, and ::grammar-error
.
Spec: https://drafts.csswg.org/css-pseudo-4/#highlight-cascade CSSWG Resolution: https://github.com/w3c/csswg-drafts/issues/2474#issuecomment-380369965
This PR adds this information as a separate block, because in Chrome this wasn’t always the case.
Feature in Chrome was put on hold. Marking PR as draft.