Custom highlights
Limited availability
Custom highlights style arbitrary text ranges, without adding extra elements to the DOM.
Learn more
Specifications
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
- State of HTML 2024: features/all_features question
- State of HTML 2024: content/content_features question
Usage (according to Chrome Platform Status)
~0.018% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist