W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: ACTION-70: Define the scope chain of onFoo events reference issue-1

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 15 Mar 2006 09:54:39 +0100
To: Maciej Stachowiak <mjs@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <2nkf12t88ek0qp9t60htrvrr3scr2rqnsb@hive.bjoern.hoehrmann.de>

* Maciej Stachowiak wrote:
>3) Event handler DOM properties have a function value. Getting the  
>property retrieves any event listener function previously set using  
>the property or corresponding markup attribute.

We should not really refer to the Function objects represented by the
onfoo="" and .onfoo attributes as listeners in the EventListener sense, 
what you say above reads as if you could do something like

  t.removeEventListener('click', t.onclick, false);

which you can't without a preceding addEventListener call.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 15 March 2006 08:54:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC