Re: [WF2] new attributes that often conflict with actual pages

Simon Pieters wrote:
> On Sat, 23 May 2009 16:45:36 +0200, Sean Hogan <shogun70@westnet.com.au> wrote:
>
>   
>> Regarding the renamed submit-button attributes: formaction, formmethod,  
>> formtarget, formenctype, etc.
>>
>> These names could be confusing, especially in JS code where  
>> button.formaction resembles button.form.action.
>>     
>
> They are actually camelCased i.e. button.formAction.
>
>
>   
>> Perhaps they could be named "altaction", etc.
>> Or even "submitaction", etc.
>>     
>
> I don't think these are any better.
>
>   
If I didn't know HTML5 Forms and was looking for a bug in code someone 
else wrote and saw button.formAction I would assume it was meant to be 
button.form.action. If I saw button.submitAction then I would google it.

Received on Wednesday, 27 May 2009 12:20:31 UTC