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
The ::part spec says that all pseudo-elements are allowed after ::part(). This includes ::slotted(), although it's a bit difficult to make it work, and it's not clear to me that it's useful.
Gecko and Chrome currently don't accept ::slotted() after ::part() (also see #10786). WebKit does, but it doesn't appear to match in cases where I think it ought to (if I'm doing it right!).
See this testcase, where my theory is that all of the border, color, and background styles should work:
(The "is it syntactically valid" aspects of this decision, pending #10786, also apply to part-like pseudo-elements, although it probably would never work for any of them.)
The text was updated successfully, but these errors were encountered:
The
::part
spec says that all pseudo-elements are allowed after::part()
. This includes::slotted()
, although it's a bit difficult to make it work, and it's not clear to me that it's useful.Gecko and Chrome currently don't accept
::slotted()
after::part()
(also see #10786). WebKit does, but it doesn't appear to match in cases where I think it ought to (if I'm doing it right!).See this testcase, where my theory is that all of the border, color, and background styles should work:
Should this work?
(The "is it syntactically valid" aspects of this decision, pending #10786, also apply to part-like pseudo-elements, although it probably would never work for any of them.)
The text was updated successfully, but these errors were encountered: