W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 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.


-- 
https://annevankesteren.nl/
Received on Tuesday, 5 May 2015 04:56:55 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC