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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-3 TTA |
|---|---|---|
| api.CSS.escape_static | DOM API | 979d (2.7y) |