W3C home > Mailing lists > Public > www-style@w3.org > December 2012

Re: case sensitivity and the OM

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 17 Dec 2012 16:47:46 -0800
Message-ID: <CAAWBYDA0BBE2EO-XP1xZkK5pPTjQeZdqv3orxfqWzB7C-VWsRQ@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: www-style list <www-style@w3.org>
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.)

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:06 UTC