#1043: CSS.highlights.highlightsFromPoint API

Visit on Github.

Opened Jan 22, 2025

こんにちは TAG-さん!

I'm requesting a TAG review of highlightsFromPoint API.

The highlightsFromPoint() API is designed to enhance user interaction with highlighted content on web pages. Highlights are used to visually distinguish specific ranges within a document, such as comments, search results, or spelling errors. This API aims to provide a robust mechanism for identifying and interacting with these highlights, addressing challenges related to multiple overlapping highlights, shadow DOM handling, and performance optimization. More details were discussed in the original issue filed in csswg: https://github.com/w3c/csswg-drafts/issues/7513.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Previous early design review, if any: N/A
  • Relevant time constraints or deadlines: None
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): CSSWG
  • The group where standardization of this work is intended to be done ("unknown" if not known): CSSWG
  • Major unresolved issues with or opposition to this design: None
  • This work is being funded by: Microsoft

Discussions