browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Add CSS Highlight Inheritance

Open bramus opened this issue 5 months ago • 6 comments

(👋 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.

bramus avatar Feb 13 '24 20:02 bramus

Feature in Chrome was put on hold. Marking PR as draft.

bramus avatar Feb 19 '24 08:02 bramus