Re: [csswg-drafts] [css-pseudo-4] should CSSPseudoElement have a pseudo() method? (#3836)

> Well, parts as well as slotted elements can have different styles even if they are the same part or slotted selector, because of rules in and outside the shadow tree respectively, so that just doesn't hold.

No the elements that comprise of the parts can have different styles, the styles of an element are resolved from its `::part`, element, slotted, etc styles. But if you take a `.pseudo("::part(bar)")` on an element the styles applied via `::part(bar)` are necessarily unique from the rules of the cascade.

-- 
GitHub Notification of comment by Jamesernator
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3836#issuecomment-498530064 using your GitHub account

Received on Tuesday, 4 June 2019 05:46:17 UTC