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

Re: [CSS21] [css3-selectors] case-sensitivity of :lang()

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 16 Jul 2008 10:54:52 -0700
Message-ID: <487E35EC.6050202@inkedblade.net>
To: www-style@w3.org

fantasai wrote:
> 
> Currently :lang() is defined as doing |= match against the
> language string (normalized to RFC 3066 format per [1]).
> 
> It's not clear whether this match is case-sensitive or
> case-insensitive. Since language codes are case-insensitive,
> I believe this match should be case-insensitive. I've tested
> Opera, Safari, and Firefox, and they agree.

Testcase:
   http://lists.w3.org/Archives/Public/www-archive/2008Jul/att-0026/xmllang.xhtml

~fantasai
Received on Wednesday, 16 July 2008 17:55:30 GMT

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