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

Re: [WF2] HTMLFormElement.accept vs. function accept(){}

From: liorean <liorean@gmail.com>
Date: Wed, 20 Feb 2008 19:06:33 +0100
Message-ID: <cee13aa30802201006t2e380ce0v9bdd4d81ccff8d86@mail.gmail.com>
To: public-html <public-html@w3.org>

On 20/02/2008, Simon Pieters <simonp@opera.com> wrote:
> There are some ways to fix this problem.
>
>    1) Make the .accept DOM attribute not override functions in scope.
>    2) Remove support for .accept DOM attribute but keep the content
> attribute.
>    3) Remove support for both .accept and <form accept>.

4) Give it a different name in the DOM bindings, such as formelm.htmlAccept.

This is style with other bindings used to avoid script engine
problems, such as legendelm.htmlFor or elm.className. Granted, both
those are because of ECMAScript reserved keywords and not live content
script usage collisions, but I still think it's a viable option.
 --
David "liorean" Andersson
Received on Wednesday, 20 February 2008 18:06:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:12 GMT