W3C home > Mailing lists > Public > www-style@w3.org > February 2015

Re: [selectors] Previous-sibling combinator?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 12 Feb 2015 16:06:36 +1100
Message-ID: <CAAWBYDCPQPnjufMdtodbsScsRGA_1zGB2p2N9dUW3TAkfndC+A@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Marat Tanalin <mtanalin@yandex.ru>, Clive Chan <doobahead@gmail.com>, Henrik Andersson <henke@henke37.cjb.net>, www-style list <www-style@w3.org>
On Thu, Feb 12, 2015 at 3:23 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
>> On Feb 11, 2015, at 1:24 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> `el:has(+sibling)`
> Wouldn't that be `el:has(+next-sibling)`? The plus sign wouldn't determine if there were siblings that were non-adjacent to el, would it? That is why I'd want `el:has(~following-sibling)` too.

It's an example with a fake element name; don't read too much into it. ^_^

But yeah, ~ is probably on the list too.

Received on Thursday, 12 February 2015 05:07:23 UTC

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