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

Re: case sensitivity and the OM

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 17 Dec 2012 16:54:59 -0800
Message-ID: <50CFBEE3.8040308@mit.edu>
To: www-style@w3.org
On 12/17/12 4:47 PM, Tab Atkins Jr. wrote:
> 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.)

Can we get 
factored out somewhere where specs won't have to keep copy/pasting it?  ;)

Received on Tuesday, 18 December 2012 00:55:42 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC