W3C home > Mailing lists > Public > www-style@w3.org > October 2009

Re: [css3-selectors] add reference for lang selector

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 20 Oct 2009 17:51:28 -0700
Message-ID: <4ADE5B10.4020502@inkedblade.net>
To: Nicolas Krebs <nicolas1.krebs3@netcourrier.com>
CC: www-style@w3.org, www-international@w3.org
Nicolas Krebs wrote:
> Hello, 
> 
> "Selectors Level 3" (aka "CSS Selectors module level 3" in 
> http://lists.w3.org/Archives/Public/www-style/2009Jan/0317.html#start317 ), 
> W3C Working Draft 10 March 2009, section 6.6.3 "The language pseudo-class :lang", 
> http://www.w3.org/TR/2009/WD-css3-selectors-20090310/#lang-pseudo
> could refer to / could include a reference to 
> RFC 4647 "Matching of Language Tags", September 2006, section 3.3.1 "Basic Filtering", 
> http://tools.ietf.org/html/rfc4647#section-3.3.1 
> with which ":lang(fr-be)" match "fr" and "fr-be" but not "fr-Latn-be",
> which is how :lang() currently work if I understand correctly.

Hi Nicolas,
Given that Selectors currently doesn't handle '*' as a wildcard in :lang(),
I think it would be more confusing than helpful to include a reference to
RFC4647. Therefore I'd like to leave the spec as-is in this respect.

Please let me know if this is acceptable.

~fantasai
Received on Wednesday, 21 October 2009 01:01:28 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC