Re: event handler name motivation
Sebastian Zartner <[email protected]> Mon, 26 Jan 2015 11:03:17 +0100
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CAERejNYz-E6XZje07DNiO2YMUOc1OwVbdW0YsLrQgSJ0ndDMYQ@mail.gmail.com> |
On 26 January 2015 at 03:29, Boris Zbarsky <[email protected]> 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