Re: some case-insensitivity cases to test

On 12/12/12 8:10 AM, John Daggett wrote:
> Firefox and Opera both seem to match dotted capital i's.

Hmm.  This is for the [foo=bar] selector, right?

That looks like an obvious Gecko bug to me.  In particular, none of the 
other attr comparators (^=, *=, etc) do that; they all do 
ASCII-case-insensitive matching.  I filed 
https://bugzilla.mozilla.org/show_bug.cgi?id=820902

> input type=""
> FF CI(~C+T)

This seems like a clear bug to me too.  The caller calls 
LowerCaseEqualsASCII but the implementation thinks it's being asked to 
check whether the lowercase version of the string equals the given ASCII 
string, so it special-cases the two non-ASCII characters that have ASCII 
lowercase versions: U+212A KELVIN SIGN and U+0130 LATIN CAPITAL LETTER I 
WITH DOT ABOVE.  See https://bugzilla.mozilla.org/show_bug.cgi?id=820909

> JS MIME
> FF CI(~T)

Same issue with LowerCaseEqualsASCII here.

-Boris

Received on Wednesday, 12 December 2012 17:31:41 UTC