[Bug 11129] Remove forminput, formchange and related dispatch methods

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11129

--- Comment #16 from Olli Pettay <Olli.Pettay@gmail.com> 2011-01-27 09:39:26 UTC ---
(In reply to comment #15)
> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/804
So that could be written close the way the example 1 or 3 in 
http://www.w3.org/Bugs/Public/attachment.cgi?id=947


> 
> You need a capturing event listener for that, which is not available as markup
> and many authors who know enough to use event handler attributes don't know
> that capturing event listeners exist or how they work.
And why exactly do you need capturing event listeners?


> If you have several event handler content attributes you would need to call all
> of them. It's more convenient to dispatch an event.
So why would it be more convenient to split the code to several
forminput/change event handlers than just have one function?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 27 January 2011 09:39:29 UTC