W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: [DOM4]: Element.create

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 17 Sep 2011 03:54:00 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
cc: Anne van Kesteren <annevk@opera.com>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <Pine.LNX.4.64.1109170353210.26180@ps20323.dreamhostps.com>
On Fri, 16 Sep 2011, Jonas Sicking wrote:
>
> Being able to set onfoo event handlers.
> 
> While you can do that using strings, it's much better to be able to code 
> using code than using code-in-strings. The latter also looses scope 
> chains and creates bad scope chains for form elements.
> 
> But I do agree that it would be a pain to deal with any other IDL 
> properies.

IIRC, one of the e-mails in the original proposal had a suggestion for a 
way to do event handlers in a better way.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 17 September 2011 03:56:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT