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

Re: [selectors4] no way to select visible children

From: Aaron Reisman <aaron@hired.com>
Date: Mon, 20 Jul 2015 18:03:42 +0000
Message-ID: <CAPavUbDxkXATeOebcajkWnN+w2q4u32q0i4ViWrqKuuPksMaPw@mail.gmail.com>
Cc: Ms2ger <ms2ger@gmail.com>, "www-style@w3.org" <www-style@w3.org>
To: Marat Tanalin <mtanalin@yandex.ru>
I'm ok with throwing an message to the console for people that are abusing
the feature/not sure what they're doing and not applying the styles.

though I don't think that's currently being done with any other CSS
features, is it?

On Mon, Jul 20, 2015 at 10:38 AM, Marat Tanalin <mtanalin@yandex.ru> wrote:

> 20.07.2015, 19:17, "Ms2ger" <ms2ger@gmail.com>:
> > On 07/10/2015 11:24 AM, Aaron Reisman wrote:
> >>  when I say :first-child, or :last-child
> >>
> >>  what I'm really saying is I want the ":first-visible-child" or the
> >>  ":last-visible-child"
> >
> > what happens if I write
> >
> > :first-visible-child {
> >   display: none;
> > }
> >
> > or
> >
> > :first-child:not(:first-visible-child) {
> >   display: block;
> > }
> >
> > ?
>
> Error message like "CSS loop detected" in console, the loop-causing rule
> ignored.
>
Received on Thursday, 23 July 2015 09:16:35 UTC

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