W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Definitions of DOMTokenList algorithms and element.classList

From: Sylvain Pasche <sylvain.pasche@gmail.com>
Date: Wed, 22 Jul 2009 20:10:38 +0200
Message-ID: <f057af470907221110w4e1227ddxe7b0a1b4cc8ed3c7@mail.gmail.com>
On Wed, Jul 22, 2009 at 6:07 PM, Anne van Kesteren<annevk at opera.com> wrote:
> On Mon, 13 Jul 2009 05:16:19 +0200, Ian Hickson <ian at hixie.ch> wrote:
>> I've clarified that DOMTokenList is always case-sensitive. We don't want
>> to be adding more quirk-mode behaviours. Using quirks mode is not
>> conforming (i.e. it's not a supported behaviour).
>
> Implementation-wise that does not seem nice if you want to use the same optimized object when dealing with style sheets or getElementsByClassName().

Actually for the Mozilla implementation, it's simpler to have it case
sensitive (that's not a big difference though). I don't know if that
could be more of an issue in other implementations.


Sylvain
Received on Wednesday, 22 July 2009 11:10:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC