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.

Received on Monday, 11 April 2011 14:02:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:32 UTC