W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: Case sensitivity in CSS: some tests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 09 Jan 2013 12:57:23 -0500
Message-ID: <50EDAF83.1010207@mit.edu>
To: www-style@w3.org
On 1/9/13 11:00 AM, Richard Ishida wrote:
 > Selectors and HTML element tags match regardless of case (this is
 > constrained to ASCII).

Constrained in that the tests do not test non-ASCII or that they test 
that it's not compared equal with ASCII.

> Selectors and HTML attribute values do NOT match where case is
> different.

This depends on the attribute name, no?  At least in some UAs...

> Class names using .classname syntax in the selector are a
> variant of this

_That_ depends on quirks mode or not, right?

> I tested in Firefox, Opera and Chrome on Mac and IE9 on Windows7, and
> got the same results. (These are standards-mode tests.)

Just to check, what version of Firefox?  We've fixed some bugs in this 
stuff recently based on Jonathan's test results, so behavior is not the 
same for Firefox tip and Firefox 17, say.

-Boris
Received on Wednesday, 9 January 2013 17:57:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT