Baseline Widely Selectors
Host
The :host CSS pseudo-class selects the containing element of the shadow tree in which it is used. The :host() CSS pseudo-class selects the that element only if it matches the provided selector.
Baseline Status
Widely Available
Since 2020-01-15
First Core Launch
Safari 10
2016-09-20
Core-3 Stability
763d (2.1y)
Last: Firefox (2018-10-23)
BCD Keys Mapped
2
Group: Selectors
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari on iOS | mobile | 10 | 2016-09-13 |
| Safari | desktop | 10 | 2016-09-20 |
| Chrome | desktop | 54 | 2016-10-12 |
| Chrome Android | mobile | 54 | 2016-10-19 |
| Firefox | desktop | 63 | 2018-10-23 |
| Firefox for Android | mobile | 63 | 2018-10-23 |
| Edge | desktop | 79 | 2020-01-15 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.selectors.host | CSS | 763d (2.1y) |
| css.selectors.hostfunction | CSS | 763d (2.1y) |