- From: Andrew Oakley <andrew@ado.is-a-geek.net>
- Date: Mon, 27 Sep 2010 11:26:49 +0100
- To: Sergey Ilinsky <sergey@ilinsky.com>
- CC: www-dom@w3.org
On 24/09/10 20:09, Sergey Ilinsky wrote: > Has the issue of ordering execution of handlers added by the following means > been addressed? > a) node.oneventx = f; > b) node.setAttribute("eventx", f) > c) node.addEventListener("eventx", f) > > There is a chance DOM Events is not a right place to specify this behaviour > but can the author then make sure this is specified somewhere else so that > the modern browsers would implement same behaviour? This is specified by HTML5, § 7.1.6: > Event handlers therefore always fire before event listeners attached using addEventListener(). Methods (a) and (b) set the same event handler so only one of these can exist at any time. -- Andrew Oakley
Received on Monday, 27 September 2010 10:30:35 UTC