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

Re: [selectors4] Multiple subject indicators

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 20 Jun 2013 10:23:53 -0700
Message-ID: <CAAWBYDBhmy4mKR2AKiN2X2O3HU3yuqpbygWaf62+9PO3AEDtug@mail.gmail.com>
To: Fran├žois REMY <francois.remy.dev@outlook.com>
Cc: Brice PARENT <briceparent@free.fr>, www-style list <www-style@w3.org>
On Thu, Jun 20, 2013 at 10:21 AM, Fran├žois REMY
<francois.remy.dev@outlook.com> wrote:
>> Alternately:
>> !b !* !d e
>
> I did think about that one first but that may not work in all cases: if "d"
> is direct child of "b" it doesn't match anything. Since the idea here was
> "match also anything in-between, if there's something in-between" it doesn't
> work well. That's why I used :any() though you could also use two selectors
> like "!b d e" and "b !* !d e".

Ah, yeah, you're right.

~TJ
Received on Thursday, 20 June 2013 17:24:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC