Baseline Widely DOM API
api.CSSStyleSheet.replace
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 73
2019-03-12
Core-3 Stability
1,476d (4.0y)
Last: Safari (2023-03-27)
Baseline Feature
Widely
Constructed stylesheets
Browser Support Timeline
Notes (2)
Firefox: Before Firefox 121, when callingreplace() repeatedly, the style is applied, but the change is not reflected in the CSS Object Model. See bug 1864815.FF And: Before Firefox for Android 121, when calling replace() repeatedly, the style is applied, but the change is not reflected in the CSS Object Model. See bug 1864815.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 73 | 2019-03-12 | Supported |
| Firefox | desktop | 101 | 2022-05-31 | Supported |
| Safari | desktop | 16.4 | 2023-03-27 | Supported |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 73 | 2019-03-12 | Supported |
| Firefox for Android | mobile | 101 | 2022-05-31 | Supported |
| Safari on iOS | mobile | 16.4 | 2023-03-27 | Supported |
| WebView Android | mobile | 73 | 2019-03-12 | Supported |
| WebView on iOS | mobile | 16.4 | 2023-03-27 | Supported |
| Samsung Browser | mobile | 11.0 | 2019-12-05 | Supported |
| Opera | desktop | 60 | 2019-04-09 | Supported |
| Opera Android | mobile | 52 | 2019-05-17 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 6.0 | 2019-08-12 | Supported |
| Internet Explorer | desktop | — | — | — |