Web platform features explorer

Custom highlights from point

The CSS.highlights.highlightsFromPoint() method returns an array of Highlight objects at a specified point.

Status

Limited availability

Browser support

  • Chrome 140 Released on 2025-09-02
  • Chrome Android 140 Released on 2025-09-02
  • Edge 140 Released on 2025-09-05
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS