[whatwg] [WF2] the form attribute

Hallvord R M Steen hallvors at gmail.com
Sat Feb 3 00:12:07 PST 2007



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

Hallvord R. M. Steen

More information about the whatwg mailing list