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

On 04/02/2013 05:01 PM, Tab Atkins Jr. wrote:
> On Tue, Apr 2, 2013 at 3:01 PM, Dimitri Glazkov <dglazkov@google.com> wrote:
>> Using scope-relative approach (which I love), what does
>> ::distributed(:scope) represent?
>
> Nothing.  The scope element is a theoretical construct here
> representing a container for all the distributed elements, not a real
> element that you can do something with.

This makes sense to me, but the key question here is:

   ::distributed(:first-child)

Does that select the first element distributed to that distribution point,
or the first of its siblings?

~fantasai

Received on Wednesday, 3 April 2013 00:17:03 UTC