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.
Hey @bramus, just checking in to see what the status of this is!
👋🏻 Shall we close this one until we're ready to revisit it?
Apologies, I was out conferencing the past 4 weeks and was mainly preoccupied with that.
With the CSSWG we resolved on a new/adjusted behavior and this has been implemented in Chrome. It’s scheduled to ship in Chrome 130 – https://chromestatus.com/feature/5090853643354112
OK great, thanks for the update! Timeline from https://chromestatus.com/roadmap:
Chrome 130 Beta coming Sep 18 - Oct 3 Stable (Oct 9, 2024)
I’ll follow-up to make sure the version numbers here are up-to-date and mark as active again once 130 shows up in browsers/chrome.json