Re: HTML5 spec. seems to unnecessarily ban strict mode event handlers

I included suggested language in bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=11977 


On Feb 3, 2011, at 2:14 PM, Ian Hickson wrote:

> 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.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 4 February 2011 14:11:58 UTC