Re: case sensitivity and the OM

On Mon, Dec 17, 2012 at 4:37 PM, John Daggett <jdaggett@mozilla.com> wrote:
> It's an artifact of ASCII case insensitivity not being defined
> precisely.  Huh, you say?  Seems like a no-brainer but ASCII case
> insensitivity can be defined as either (1) lowercase the characters
> [A-Z] in both strings and compare characters or (2) map all Unicode
> characters that have lowercase mappings in the ASCII range to their
> lowercase mappings in both strings and compare characters.

Note that this is why I defined the term "match
ASCII-case-insensitively" precisely in the Syntax spec:
<http://dev.w3.org/csswg/css3-syntax/#ascii-case-insensitive>.  (I
think my definition is clumsy, but it works and is precise.)

~TJ

Received on Tuesday, 18 December 2012 00:48:38 UTC