W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2011

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

From: Allen Wirfs-Brock <allen@wirfs-brock.com>
Date: Thu, 3 Feb 2011 15:17:00 -0800
Cc: EcmaScript <es-discuss@mozilla.org>, public-script-coord@w3.org, Juriy Zaytsev <kangax@gmail.com>, Sam Ruby <rubys@intertwingly.net>
Message-Id: <F55F11C3-27A0-4E77-9ADB-34AC1C32FD94@wirfs-brock.com>
To: Ian Hickson <ian@hixie.ch>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC