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

On 05/01/2013 11:44 AM, Tab Atkins Jr. wrote:
> On Tue, Apr 30, 2013 at 3:54 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> On 04/26/2013 02:52 PM, Tab Atkins Jr. wrote:
>>>
>>> I think this needs to be done by a separate "absolutizing" algorithm
>>> (separate from the current one) that converts "foo" into "foo" (no
>>> change), "> foo" into "foo"-but-only-matches-elements-without-parents,
>>> and convert "+ foo" and "~ foo" into "" (matches nothing).  (Other
>>> combinators like || and /for/ also turn into matching nothing.)
>>>
>>> fantasai, what do you think?
>>
>>
>> If that's what I told you I think we should do earlier (which it seems
>> to be, but the quoted part of the discussion confuses me), then I agree
>> with it. :)
>
> Yes it is, just in more detail.  Time to edit the spec!

Edits done! Please take a look and let us know if we got it right~
   http://dev.w3.org/csswg/selectors4/#relative

~fantasai and TJ

Received on Thursday, 2 May 2013 20:24:53 UTC