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

[selectors4] no way to select visible children

From: Aaron Reisman <aaron@hired.com>
Date: Fri, 10 Jul 2015 09:24:28 +0000
Message-ID: <CAPavUbDckVaT9zLpofdvGO6ZkiosxQ1aAMDeQPCnrHORUNtnEg@mail.gmail.com>
To: www-style@w3.org
I feel like most people would agree.

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"

I don't care about elements that are "display: none" when writing CSS.

I'm not sure if we want to introduce these new pseudo selectors or update
the idea of what :first-child or :last-child means.

but these definitely need to be a feature in CSS.

--

Aaron Reisman
Web Architect
http://hired.com
Received on Monday, 20 July 2015 15:42:10 UTC

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