Custom highlights
Custom highlights style arbitrary text ranges, without adding extra elements to the DOM.
Status
Limited availability
MDN documentation
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 ❌ See bugzil.la/1703961 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 (26 months)
Surveys
Usage (according to Chrome Platform Status)
~0.048% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist