Baseline Widely DOM API
api.HTMLSlotElement.assign
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 92
2021-07-20
Core-3 Stability
615d (1.7y)
Last: Safari (2023-03-27)
Baseline Feature
Widely
Imperative slot assignment
Browser Support Timeline
Notes (9)
Chrome: Before Chrome 95, the method accepted anyNode instead of just Element and Text.Chrome, Edge, Chr And, WV And, Samsung, Opera, Op And, Quest: Accepted sequence<Node> instead of (Element or Text)....Edge: Before Edge 95, the method accepted any Node instead of just Element and Text.Chr And: Before Chrome Android 95, the method accepted any Node instead of just Element and Text.WV And: Before WebView Android 95, the method accepted any Node instead of just Element and Text.Samsung: Before Samsung Browser 17.0, the method accepted any Node instead of just Element and Text.Opera: Before Opera 81, the method accepted any Node instead of just Element and Text.Op And: Before Opera Android 67, the method accepted any Node instead of just Element and Text.Quest: Before Quest Browser 18.0, the method accepted any Node instead of just Element and Text.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 92 | 2021-07-20 | Supported |
| Firefox | desktop | 92 | 2021-09-07 | Supported |
| Safari | desktop | 16.4 | 2023-03-27 | Supported |
| Edge | desktop | 92 | 2021-07-22 | Supported |
| Chrome Android | mobile | 92 | 2021-07-20 | Supported |
| Firefox for Android | mobile | 92 | 2021-09-07 | Supported |
| Safari on iOS | mobile | 16.4 | 2023-03-27 | Supported |
| WebView Android | mobile | 92 | 2021-07-20 | Supported |
| WebView on iOS | mobile | 16.4 | 2023-03-27 | Supported |
| Samsung Browser | mobile | 16.0 | 2021-11-25 | Supported |
| Opera | desktop | 78 | 2021-08-03 | Supported |
| Opera Android | mobile | 65 | 2021-10-20 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 17.0 | 2021-09-13 | Supported |
| Internet Explorer | desktop | — | — | — |