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

Re: :first pseudo-selector

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 25 Mar 2012 22:42:36 -0700
Message-ID: <4F7001CC.3080002@inkedblade.net>
To: Daniel Bock <daniel.bock@web.de>
CC: www-style@w3.org
On 03/25/2012 08:15 AM, Daniel Bock wrote:
> Am 20.03.2012 02:59, schrieb fantasai:
>>
>> FWIW, I don't think it will get resolved any time soon, since Selectors
>> so far is markup-agnostic; it wouldn't make sense to have HTML-specific
>> pseudo-classes. But you're not the first person to suggest some kind of
>> pre-defined grouping, so maybe we need to find a way to create them.
>
> It doesn't depend on HTML, it - depending on the concrete implementation
> - may depend on the "display" value of the first element in a box. The
> detection of "noscript" elements is just a workaround.

Depending on the 'display' value of the element won't work because selectors
can't depend on style resolution.

~fantasai
Received on Monday, 26 March 2012 05:43:08 GMT

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