- From: Sean Hogan <shogun70@westnet.com.au>
- Date: Wed, 27 May 2009 22:18:59 +1000
- To: Simon Pieters <simonp@opera.com>
- CC: public-html@w3.org, Ian Hickson <ian@hixie.ch>, "Hallvord R. M. Steen" <hallvord@opera.com>, Laurens Holst <lholst@students.cs.uu.nl>
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