Re: [DOM4]: Element.create

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 UTC