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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 4 Jul 2008 18:37:39 -0700
To: www-style@w3.org
Message-ID: <20080705013739.GA5413@pickering.dbaron.org>

On Friday 2008-07-04 18:05 -0700, fantasai wrote:
> On a related note, while Opera and Firefox treat |= as
> performing a case-sensitive match (which, afaict from
> the spec, it should), Safari treats it as case-insensitive.

Like other attribute selectors, Firefox treats it as case-sensitive
or case-insensitive depending on the markup language.  (Attributes
are considered case-sensitive unless we're in text/html HTML and the
attribute is one of the ones listed as [CI] in the HTML4 spec or the
direction attribute of marquee.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 5 July 2008 01:38:17 GMT

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