W3C home > Mailing lists > Public > www-international@w3.org > January to March 2013

Re: Case sensitivity in CSS: some tests

From: Richard Ishida <ishida@w3.org>
Date: Thu, 10 Jan 2013 10:28:50 +0000
Message-ID: <50EE97E2.6080607@w3.org>
To: Øyvind Stenhaug <oyvinds@opera.com>
CC: www International <www-international@w3.org>, W3C Style <www-style@w3.org>
Øyvind, try Opera 12.12 on a Mac using Snow Leopard or Lion OS (I don't 
have Mountain Lion).

I checked Opera 12.12 on Windows and indeed it behaves as the other 
browsers, but on my Mac it is consistently different when comparing

div.test div.classtest

and

<div class="CLASSTEST">

RI




Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/

On 09/01/2013 17:03, Øyvind Stenhaug wrote:
> On Wed, 09 Jan 2013 17:00:59 +0100, Richard Ishida <ishida@w3.org> wrote:
>
>> Selectors and HTML attribute values do NOT match where case is
>> different. Class names using .classname syntax in the selector are a
>> variant of this that produces the same results except for Opera, which
>> matches regardless of case (though doesn't match general attribute
>> values).
>
> I'm not able to see how Opera is an exception in this regard. We seem to
> act the same as Gecko and WebKit (don't have IE handy at the moment),
> matching case-sensitively in standards mode.
>
Received on Thursday, 10 January 2013 10:29:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 January 2013 10:29:16 GMT