#1120: CSS find-in-page highlight pseudos

Visit on Github.

Opened Jul 14, 2025

こんにちは TAG-さん!

I'm requesting a TAG review of the new highlight pseudo-element, ::search-text

This pseudo-element exposes find-in-page search result styling to authors, including selection and spelling errors. It allows authors to change the foreground and background colors or add text decorations, which can be especially useful if the UA defaults are insufficiently contrasted with the page colors or otherwise unsuitable.

Specification

https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text

Explainer

https://github.com/Igalia/explainers/blob/main/css/find-in-page/README.md

Links

The specification

Where and by whom is the work is being done?

  • GitHub repo: https://github.com/Igalia/explainers/tree/main/css/find-in-page
  • Primary contacts:
    • Delan Azabani (@delan), Igalia
    • Jihye Hong (@jihyerish), Igalia
    • Stephen Chenney (@schenney-chromium), Igalia
  • Organization/project driving the specification: Igalia
  • This work is being funded by: Bloomberg and Igalia
  • Primary standards group developing this feature: CSSWG
  • Incubation and standards groups that have discussed the design:

Feedback so far

You should also know that...

No response

<!-- Content below this is maintained by @w3c-tag-bot -->

Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1120

Discussions