Re: [selectors4] no way to select visible children

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.

~TJ

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