Highlights visually distinguish specific ranges within a document, such as comments, search results, or spelling errors. As web features become more complex, developers face challenges in efficiently managing overlapping highlights, handling highlights within shadow DOM while maintaining encapsulation, and ensuring optimal performance.
The highlightsFromPoint API is designed to address these challenges, providing developers with better methods to manage highlighted content effectively.
WebKittens
No response
Title of the proposal
highlightsFromPoint API
URL to the spec
Spec is in progress - please see the explainer
URL to the spec's repository
No response
Issue Tracker URL
No response
Explainer URL
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/highlight/HighlightsFromPointsExplainer.md
TAG Design Review URL
TAG Design Review is in progress
Mozilla standards-positions issue URL
https://github.com/mozilla/standards-positions/issues/1068
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Highlights visually distinguish specific ranges within a document, such as comments, search results, or spelling errors. As web features become more complex, developers face challenges in efficiently managing overlapping highlights, handling highlights within shadow DOM while maintaining encapsulation, and ensuring optimal performance.
The
highlightsFromPoint
API is designed to address these challenges, providing developers with better methods to manage highlighted content effectively.Relevant discussions: