Re: [csswg-drafts] [css-shadow-parts] confirm browser support

Ah, I see what Fergal said.  Looked at from the perspective of *the element that ::part() refers to*, sure, it can have different names. They're still not about scope, tho, they're about what shadow host you're drawing it from.  The argument to ::part() is entirely a function of the *originating element* of the ::part() pseudo - the shadow host that has a parts map.  The element that the pseudo points to has no choice in the matter.

> That means that selectors in an descendant shadow tree that specify a part that that is forwarded from an outer shadow tree should match, is that right? (See my example in that comment).

Can you restate the example with some markup? It's not clear to me from your previous post what exact scenario you're asking about here.

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

Received on Thursday, 1 March 2018 22:43:22 UTC