W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: :first pseudo-selector

From: Lea Verou <leaverou@gmail.com>
Date: Wed, 21 Mar 2012 17:58:02 -0700
Message-ID: <4F6A791A.1060706@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Mostly, yeah. It might also be a request for :visible, although that 
seems to be secondary in his proposal.

Lea Verou (http://lea.verou.me | @LeaVerou)


On 21/3/12 17:48, Tab Atkins Jr. wrote:
> On Wed, Mar 21, 2012 at 5:24 PM, fantasai<fantasai.lists@inkedblade.net>  wrote:
>> But it would be much easier to use the ":visible:first" pseudo-selector for
>> this, which is e.g. used in jQuery.
>>
>> http://api.jquery.com/first-selector/
>>
>> It's necessary if you have a box with some paragraphs and don't want to have
>> unnecessary gaps at the the end and the beginning
>> of the box.
>>
>> I hope you can include this feature into the offical CSS 3 specification.
>> Please inform me about the progress of my request.
> This is basically a request for :nth-match(an+b, selector), right?
>
> ~TJ
>
Received on Thursday, 22 March 2012 00:58:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT