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

Re: Selector Syntax Survey - subject indicator vs :has()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 11 Feb 2014 13:52:02 -0800
Message-ID: <CAAWBYDBWaPWLN6ONSLSMHZgKm-7ow_7pvrQh0U9xTF5G7RCnBw@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: Marat Tanalin <mtanalin@yandex.ru>, www-style list <www-style@w3.org>
On Tue, Feb 11, 2014 at 1:20 PM, Brian Kardell <bkardell@gmail.com> wrote:
> According to selectors L4 you can have multiple ! (bangs).
> http://dev.w3.org/csswg/selectors4/#subject
> See what it means there -- you can also pair ! with :matches to achieve what
> you can with :has in theory.
>
> To be clear, I am *strongly* for :has, but I want to make sure that people
> have all of the information to cast a vote.

We decided not to put more complex examples in the poll; it was long
enough as it was, and the use-cases are hard to explain in a short
amount of text.

Just trust us when we say they're exactly identical in power.

~TJ
Received on Tuesday, 11 February 2014 21:52:51 UTC

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