W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [shadowdom]: Using :root to specify the insertion point in ::distributed

From: Hayato Ito <hayato@google.com>
Date: Wed, 27 Mar 2013 11:12:04 +0900
Message-ID: <CAFpjS_2n+5BAxuJFVQTTw8FVkmFxhSKBdp75=fStEV=gioLaFA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Dimitri Glazkov <dglazkov@google.com>, "www-style@w3.org" <www-style@w3.org>, Steve Orvell <sorvell@google.com>
On Wed, Mar 27, 2013 at 2:18 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> Whoops, Hayato-san pointed out something I didn't realize.
>
> On Mon, Mar 25, 2013 at 11:39 AM, Dimitri Glazkov <dglazkov@google.com> wrote:
>> It seems that we need a way to refer to the insertion point itself in
>> the selector. Tab suggested using ":root":
>>
>> ::distributed(:root>*)
>
> I didn't mean to suggest this.  My suggestion was that :root match all
> the top-level elements in the distributed set, so if you wanted to
> select only the elements that were distributed, but not their
> descendants, you'd write ::distributed(:root) and be done.

Thank you for the explanation! That makes sense. I don't have any
objections to that.



--
Hayato
Received on Wednesday, 27 March 2013 02:12:51 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 02:12:51 GMT