W3C home > Mailing lists > Public > www-style@w3.org > February 2008

Re: [css3] "Selectors that People Actually Use"

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 19 Feb 2008 09:31:06 -0800
Message-ID: <47BB125A.7090109@inkedblade.net>
To: Christoph Päper <christoph.paeper@crissov.de>
CC: www-style@w3.org, "Linss, Peter" <peter.linss@hp.com>

Christoph Päper wrote:
> 
> Btw., an intentionally blank section -- what the hell?

To preserve section numbering across versions. There was a :contains() selector there, iirc.

>> * E:lang(fr) -- Probably the most questionable selector since apparently
>> replaceable by attribute selectors.
> 
> I still think it was too strict to make it impossible for this pseudo class to
> be used with markup languages that do not use IETF-compatible language tags.
> It was the right choice to make the selector syntax itself compliant, of
> course.

That could be fixed by changing
   # substring of, the element's language value,
to
   | substring of, the element's language value normalized to RFC3066,
or somesuch. I don't think the intention was to make :lang() not work for other
language syntaxes.

~fantasai
Received on Tuesday, 19 February 2008 17:30:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT