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

Re: [selectors] Previous-sibling combinator?

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 11 Feb 2015 20:23:18 -0800
Cc: Marat Tanalin <mtanalin@yandex.ru>, Clive Chan <doobahead@gmail.com>, Henrik Andersson <henke@henke37.cjb.net>, www-style list <www-style@w3.org>
Message-Id: <763E149C-841E-46A4-9CA7-6A787135F5C0@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>


> 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.
Received on Thursday, 12 February 2015 04:23:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC