HTML5 spec. seems to unnecessarily ban strict mode event handlers

Ian Hickson ian at hixie.ch
Thu Feb 3 14:14:44 PST 2011


On Thu, 3 Feb 2011, Allen Wirfs-Brock wrote:
> 
> To be sure, I checked the event handler section of the HTML5 spec 
> (http://dev.w3.org/html5/spec/Overview.html#event-handler-attributes) 
> and to my surprise I discovered that it specifies the creation of the 
> handler function in a manner that, at first glance, seems to explicitly 
> cause the presence of a use strict directive to be ignored.  

This wasn't intentional.

I'm happy to change the spec to more correctly interface with the ES spec. 
Let me know what it should say!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the es-discuss mailing list