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

Re: Variables and casing, again

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 25 Oct 2012 10:26:40 -0700
Message-ID: <CAAWBYDDU_aD6pj7Eq_y=6-9THxoY7q1YOSfvO0vOb8skhbpHUw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Thu, Oct 25, 2012 at 10:16 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Looks like WebKit recently checked in a patch [1] that does some sort of
> case-insensitive stuff on variables, via lowercasing them and then comparing
> lowercased versions.
> It's not quite clear to me what lowercasing algorithm it's using; at first
> glance it's passing UTF-16 code units one by one to a function that expects
> to get 32-bit codepoints.  But maybe that's just me misreading the code.
> In any case, whatever it's doing doesn't sound like anything we've discussed
> on this list, since, again if I read the code right, it'll treat I (U+0049)
> and İ (U+0130) as equal.
> Can we come to a decision on this before UAs start shipping random gunk like
> that and causing backwards-compat problems?  :(
> -Boris
> [1] http://trac.webkit.org/changeset/131313

We're not shipping variables yet, don't worry.  I am aware of that
bug, though I didn't dig deep into the review.  It was intended to
just add ASCII-case-insensitivity.

Received on Thursday, 25 October 2012 17:27:28 UTC

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