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

* 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