Web platform features explorer

Custom highlights

Limited availability
Tags: api css

Custom highlights style arbitrary text ranges, without adding extra elements to the DOM.

Browser support

  • Chrome 105 Released on 2022-09-02
  • Chrome Android 105 Released on 2022-09-02
  • Edge 105 Released on 2022-09-01
  • Firefox Vendor position : positive
  • Firefox for Android Vendor position : positive
  • Safari 17.2 Released on 2023-12-11
  • Safari on iOS 17.2 Released on 2023-12-11

Baseline availability blocked since December 2023 by Firefox (19 months)

Developer signals

Usage (according to Chrome Platform Status)

~0.018% of page loads. More data at chromestatus.