W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2015

Re: event handler name motivation

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Mon, 26 Jan 2015 11:03:17 +0100
Message-ID: <CAERejNYz-E6XZje07DNiO2YMUOc1OwVbdW0YsLrQgSJ0ndDMYQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-dom@w3.org
On 26 January 2015 at 03:29, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 1/25/15 7:56 PM, Mark Volkmann wrote:
>
>> Does anyone know/remember what the motivation was for using event handler
>> function names like onreadystatechange (all lowercase) rather than
>> onReadyStateChange?
>>
>
> For this particular one, and for Firefox, the motivation was that this was
> what IE implemented by 2001.  See discussion in
> https://bugzilla.mozilla.org/show_bug.cgi?id=96459
>
> So we'd need to find someone involved in Trident back then...
>

Is there at least some agreement for a scheme for future event names now?
If so, would it make sense to introduce aliases to be able to change
existing event names to follow that scheme?

Sebastian
Received on Monday, 26 January 2015 10:04:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:23 UTC