W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] [WHATWG] HTMLElement ids as global object properties

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Jun 2011 23:00:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1106152227560.19153@ps20323.dreamhostps.com>

On Fri, 1 Apr 2011, Kyle Huey wrote:
>
> This is often called "global scope pollution" and is defined in the spec 
> at http://www.whatwg.org/specs/web-apps/current-work/#dom-window-nameditem.  
> I believe that in Firefox 4 you should only be seeing this behavior in 
> quirks mode.
> 
> There is a bug on file at 
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=11960 to change the spec 
> to match the Gecko behavior, where this occurs in quirks mode only.

Indeed. Right now I'm not changing the spec just because most browsers 
haven't changed the spec... I strongly encourage people who want this 
changed to advocate for it directly to the UA vendors who would need to 
update their code. If the browsers change the spec will obviously follow.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 15 June 2011 16:00:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC