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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Apr 2011 14:02:05 -0700
Message-ID: <4DA36C4D.6000406@mit.edu>
On 4/11/11 11:47 AM, Juriy Zaytsev wrote:
> There is a somewhat similar issue for Mozilla about named form controls
> shadowing members of HTMLFormElement interface, etc. ?
> https://bugzilla.mozilla.org/show_bug.cgi?id=322488 I'd love to see that
> fixed too; not sure how compat-breaking that would be.

Too much.  Every browser implements that in all modes; lots of sites 
depend on it.

The details of whether it's ok to shadow methods on the form itself are 
up for grabs, possible.  But generally form.foo needs to work for at 
least things that don't shadow.

-Boris
Received on Monday, 11 April 2011 14:02:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT