W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 02 Feb 2011 14:25:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Pkdea-0005ST-1g@jessica.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 February 2011 14:26:36 GMT