BASELINE NowYouCanUse.com
Web Platform Baseline Status Breakdown Total Features: 1219
Search:
Showing 3 of 3 features

Limited Availability

3 features
• In Progress / Not Yet Baseline

The referenceTarget property of a ShadowRoot object forwards attributes such as for and aria-labelledby to elements inside a shadow DOM. You can use this to, for example, link a <label> to its <input> even if the <input> is in the shadow DOM of a web component.

Chrome 152
Firefox —
Safari —
Edge 152
Status: Incomplete cross-engine support

The :has-slotted CSS pseudo-class matches <slot> elements where the fallback content is not shown. The pseudo-class matches any slotted content, including white space, text nodes, or elements.

Chrome —
Firefox 136
Safari —
Edge —
Status: Incomplete cross-engine support

The :host-context() CSS pseudo-class selects the containing element of the shadow tree in which it is used if that element or an ancestor matches the provided selector.

Chrome 54
Firefox —
Safari —
Edge 79
Status: Incomplete cross-engine support