api.CSSStyleSheet.replace

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 73 on 2019-03-12

In Chrome Android version 73 on 2019-03-12

In Edge version 79 on 2020-01-15

In Firefox version 101 on 2022-05-31 Note: Before Firefox 121, when calling replace() repeatedly, the style is applied, but the change is not reflected in the CSS Object Model. See bug 1864815.

In Firefox for Android version 101 on 2022-05-31 Note: 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.

Not in Internet Explorer

In Quest Browser version 6.0 on undefined

In Opera version 60 on 2019-04-09

In Opera Android version 52 on 2019-05-17

In Safari version 16.4 on 2023-03-27

In Safari on iOS version 16.4 on 2023-03-27

In Samsung Internet version 11.0 on 2019-12-05

In WebView Android version 73 on 2019-03-12

In WebView on iOS version 16.4 on 2023-03-27