Re: :host pseudo-class

On Tue, May 5, 2015 at 6:52 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> My understanding is that the question here isn't what is being
> matched, but rather what syntax to use for the selector. I.e. in both
> cases the thing that the selector is matching is the DocumentFragment
> which is the root of the shadow DOM.

No, :host matches the host element in the light tree that holds the shadow tree.


-- 
https://annevankesteren.nl/

Received on Tuesday, 5 May 2015 04:56:55 UTC