W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

[whatwg] [WF2] the form attribute

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 3 Feb 2007 08:36:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0702030835460.15187@dhalsim.dreamhost.com>
On Sat, 3 Feb 2007, Hallvord R M Steen wrote:
>
> http://whatwg.org/specs/web-forms/current-work/#formAttribute
> 
> says
> 
> > All form controls as well as the fieldset element may have the form 
> > attribute specified. The form attribute gives a space- separated list 
> > of IDs of form elements that the form control is to be associated with
> 
> I'm surprised this hasn't been brought up, but the "form" attribute from 
> the spec is unimplementable. Form controls already have a "form" 
> attribute that refers to the form *node* the control is associated with. 
> Turning that into a list of strings will break a lot of existing content 
> like
> 
> <select onchange="this.form.submit()">
> 
> I'd rename the form attribute to formsList . (Name is up for discussion 
> of course..)

The "form attribute" in the text above is a content attribute. WF2 defines 
the DOM attributes separately.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 3 February 2007 00:36:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC