W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Jan 2011 09:39:26 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PiOK6-0001bi-Uq@jessica.w3.org>

--- 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 

> 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:04 UTC