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

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

From: Simon Pieters <simonp@opera.com>
Date: Wed, 20 Feb 2008 19:36:02 +0100
To: liorean <liorean@gmail.com>, public-html <public-html@w3.org>
Message-ID: <op.t6t5ycn0idj3kv@hp-a0a83fcd39d2.belkin>

On Wed, 20 Feb 2008 19:06:33 +0100, liorean <liorean@gmail.com> wrote:

> 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.

Yeah... if <form accept> was a killer feature. But it's not. It's pretty  
useless. DOM2 HTML forgot about it's existence altogether. AFAIK, no  
browser does anything with it at all. Supporting it is causing Web compat  
problems. I'd say it's ripe for removal.

Simon Pieters
Opera Software
Received on Wednesday, 20 February 2008 18:36:18 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:26 UTC