- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Wed, 15 Aug 2012 18:11:09 +0400
- To: Ms2ger <ms2ger@gmail.com>
- Cc: "www-style@w3.org" <www-style@w3.org>,Greg Houston <gregory.houston@gmail.com>
15.08.2012, 14:14, "Ms2ger" <ms2ger@gmail.com>: > On 08/15/2012 05:34 AM, Greg Houston wrote: > >> This is a request for a last-visible-child selector. I often wish to >> remove the bottom margin from the last visible child in panels, but >> this becomes complicated if the actual last child has either >> display:none or visibility:hidden so that the element that loses it's >> margin is the hidden one rather than the one that is visible. > > So how would you handle > > :last-visible-child { > display:none; > } > > ? We could disallow/ignore hiddening properties when used in conjunction with this pseudoclass. In general, fear (fabulous and overcomable in most cases) of endless loops quite often deprives us of useful features like this.
Received on Wednesday, 15 August 2012 14:12:02 UTC