Baseline Widely CSS object models

CSS.escape()

The CSS.escape() static method escapes a string so that it can be used in a valid CSS selector.

Baseline Status
Widely Available
Since 2020-01-15
First Core Launch
Firefox 31
2014-07-22
Core-3 Stability
979d (2.7y)
Last: Safari (2017-03-27)
BCD Keys Mapped
1
Group: CSS object models

Browser Support Timeline

Firefox v31 (2014-07-22) Firefox for Android v31 (2014-07-22) Chrome v46 (2015-10-13) Chrome Android v46 (2015-10-14) Safari v10.1 (2017-03-27) Safari on iOS v10.3 (2017-03-27) Edge v79 (2020-01-15)
Green dot marks the first browser release (2014-07-22); blue dots show subsequent browser launches (+2003d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Firefox desktop 31 2014-07-22
Firefox for Android mobile 31 2014-07-22
Chrome desktop 46 2015-10-13
Chrome Android mobile 46 2015-10-14
Safari desktop 10.1 2017-03-27
Safari on iOS mobile 10.3 2017-03-27
Edge desktop 79 2020-01-15

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.CSS.escape_static DOM API 979d (2.7y)