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

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 UTC