You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://drafts.csswg.org/css-shadow-parts/#motivation
For custom elements to be fully useful and as capable as built-in elements it should be possible for parts of them to be styled from outside. Exactly what can be styled from outside should be controlled by the element author. Also, it should be possible for a custom element to present a stable "API" for styling. That is, the selector used to style a part of a custom element should not expose or require knowledge of the internal details of the element. The custom element author should be able to change the internal details of the element while leaving the selectors untouched.
In the MDN short survey on APIs & JavaScript, "Web Components (custom elements, Shadow DOM, etc.)" was the most popular choice by a fairly wide margin, selected by ~39% of survey takers.
Web Components was split into many granular proposals, and the survey results don't tell us which aspects web developers want the most, but it's fair to say that something about Web Components is important. (I'm posting this comment on each of the split proposals.)
Thank you for proposing CSS Shadow Parts for inclusion in Interop 2023.
We wanted to let you know that this proposal was not selected to be part of Interop this year. When we looked at the results in WPT, we found that this feature is already largely interoperable between browsers and does not need increased attention.
For an overview of our process, see the proposal selection summary. Thank you again for contributing to Interop 2023!
Activity
gsnedders commentedon Oct 21, 2022
It seems from those tests like we already almost have interop here? These are the only things that aren't passing everywhere today.
josepharhar commentedon Oct 24, 2022
Yeah I agree this looks pretty good already.
It looks like the two failing test cases were added by @andruud and @fergald
emilio commentedon Nov 3, 2022
I believe http://wpt.live/css/css-shadow-parts/interaction-with-nested-pseudo-class.html is not necessarily valid fwiw...
:focusfor the outer tree is the host element itself (gets retargeted just likeactiveElement).emilio commentedon Nov 3, 2022
Err, nevermind... That said it seems to already work manually? So maybe just a bug in the test.
foolip commentedon Nov 11, 2022
In the MDN short survey on APIs & JavaScript, "Web Components (custom elements, Shadow DOM, etc.)" was the most popular choice by a fairly wide margin, selected by ~39% of survey takers.
Web Components was split into many granular proposals, and the survey results don't tell us which aspects web developers want the most, but it's fair to say that something about Web Components is important. (I'm posting this comment on each of the split proposals.)
nairnandu commentedon Feb 1, 2023
Thank you for proposing CSS Shadow Parts for inclusion in Interop 2023.
We wanted to let you know that this proposal was not selected to be part of Interop this year. When we looked at the results in WPT, we found that this feature is already largely interoperable between browsers and does not need increased attention.
For an overview of our process, see the proposal selection summary. Thank you again for contributing to Interop 2023!
Posted on behalf of the Interop team.