W3C home > Mailing lists > Public > www-style@w3.org > May 2015

Re: :host pseudo-class

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 5 May 2015 06:56:31 +0200
Message-ID: <CADnb78gLpp119vkDguMK7dF015m69OjVCXhGZ_5koDGn7+7-aQ@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:53 UTC