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

Re: [selectors4] no way to select visible children

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 Jul 2015 12:07:30 -0700
Message-ID: <CAAWBYDCAdUABDCD3PVNz+uEHcRS6+yAFPNOP6+dfaP=M4kstOg@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Benjamin Poulain <benjamin@webkit.org>, Aaron Reisman <aaron@hired.com>, www-style list <www-style@w3.org>, Marat Tanalin <mtanalin@yandex.ru>, Ms2ger <ms2ger@gmail.com>
On Mon, Jul 20, 2015 at 10:08 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Jul 20, 2015, at 6:02 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> Also, :hover's loop gets all the way out to user gesture handling. It's not a tight loop inside of style resolution, or in style+selectors.
>> But yeah, citing a clearly terrible result doesn't help much in arguing the point.
> Yeah, I know. Just throwing it out there. I was not arguing for or against ‘:visible’ (or I guess :visible:first-child for Aaron’s original point). It is pretty useful in jQuery sometimes, but I understand the argument against it.

There's nothing wrong with it in jQuery or other static things.  Heck,
we could add it if we limited it to the static profile - there's no
possibility of looping there.  It's just not appropriate in
stylesheets, unfortunately.

Received on Tuesday, 21 July 2015 19:08:19 UTC

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