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 
http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#case-sensitivity-and-string-comparison 
factored out somewhere where specs won't have to keep copy/pasting it?  ;)

-Boris
Received on Tuesday, 18 December 2012 00:55:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT