22:06
<keithamus>
For CustomStateSet/state-pseudo, there currently exists a test that says ::part(foo):--foo should work. (https://github.com/web-platform-tests/wpt/blob/46476776fdbf0a62522621002ba8af68e4d478b6/custom-elements/state/tentative/state-pseudo-class.html#L110-L111). That seems a little odd to me. Can I get some clarification on folks as to how that would work? Both in Firefox and WebKit where I'm implementing :state() it's failing on ::part(foo):state(foo).
22:07
<keithamus>
I can understand something like :host:state(foo)::part(bar) working but :host::part(bar):state(foo)? Are we saying all elements within a shadow root have the state selector applied?
22:24
<Luke Warlow>
A part could itself be a custom element with its own custom state?
22:24
<Luke Warlow>
So that would make sense to work.
22:26
<Luke Warlow>
Same way you can do "input:: file-selector-button:hover"
22:36
<keithamus>
Ohh yeah https://github.com/web-platform-tests/wpt/blob/master/custom-elements/state/tentative/state-pseudo-class.html#L44 you're right, the inner part is a custom element!