Re: [w3ctag/design-reviews] CSS find-in-page highlight pseudos (Issue #1120)

schenney-chromium left a comment (w3ctag/design-reviews#1120)

Sorry for letting this drop for so long.

Regarding the :has(::search-text) this will only tell you whether the style would apply _if_ the test is highlighted. It doesn't tell you whether that style is active of not. This is the same as `getComputedStyle`, which will return the style that would apply but not whether that style is active. The behavior is designed to protect user privacy and matches that for `""spell-error` and `::grammar-error` that have similar concerns.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1120#issuecomment-3543451004
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1120/3543451004@github.com>

Received on Monday, 17 November 2025 19:07:33 UTC