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

Re: ::distributed and relative selectors (Was Re: [shadowdom]: Using :root to specify the insertion point in ::distributed)

From: Hayato Ito <hayato@google.com>
Date: Mon, 27 May 2013 14:20:33 +0900
Message-ID: <CAFpjS_0LSF6mCGcBK0cGjbc=KLy-QdTFcSG9gE3R_VJ5OiNyeQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
A '::distributed' functional pseudo element in blink now suports a
relative selector.

So far, the spec is good. I've not found any issue in the spec when I
was implementing that.

As for other use cases of relative selectors, such as Selectors API
level 2, I'd like to implement that too. But I am not sure how stable
the spec is.
Is there any opinions?

On Fri, May 3, 2013 at 5:28 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Thu, May 2, 2013 at 1:24 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> Edits done! Please take a look and let us know if we got it right~
>>   http://dev.w3.org/csswg/selectors4/#relative
> To be specific, Shadow DOM should specify that ::distributed() takes a
> relative selector, and the reference element set is the virtual
> container that holds the distributed items.
> ~TJ

Received on Monday, 27 May 2013 05:21:28 UTC

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