[Bug 11960] Consider making the global scope pollution by names/ids quirks-only

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11960

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> 2011-02-02 14:25:51 UTC ---
In particular, Gecko does this in quirks mode and we've had very few problems
with that (and all the problems we _have_ had were very recent pages written
and tested only in Webkit browsers).

The reason to make this a quirk is that this behavior is a significant
complication for the web platform that makes writing and debugging scripts much
more difficult, because random elements in the DOM can interfere with variable
names in your script.  This has bitten every single web page author I know at
some point, and the response has always been some variant of "wtf?"

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 2 February 2011 14:25:56 UTC