Re: [selectors4] no way to select visible children

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