Skip to main content

Chrome to Remove -webkit-highlight CSS Property

Google will be removing the -webkit-highlight CSS property from Chrome in an upcoming version 117. The property was intended to highlight text, but was never standardized and has no visible effect in Chromium. It was removed from WebKit in 2014 and has been marked as deprecated on MDN.

The motivation for the removal is to avoid confusion with the new CSS Highlight Pseudo spec, which provides a more consistent and standardized way to highlight text. The removal will also clean up the code and remove about 1K of memory usage.

The -webkit-highlight property is currently used in a single third-party library, but the library developers have been notified of the removal and will be updating their code to use the CSS Highlight Pseudo spec.