[whatwg] [WF2] Label with empty for attribute

Ian Hickson ian at hixie.ch
Mon Aug 14 13:21:44 PDT 2006


On Mon, 14 Aug 2006, Anne van Kesteren wrote:
>
> On Mon, 14 Aug 2006 02:51:17 -0700, Matthew Raymond
> <mattraymond at earthlink.net> wrote:
> > > > I think "for" should be treated analogously to "form". That would mean
> > > > that the <label> element is not associated with any control.
> > > 
> > > Back compat wins this one I think.
> > 
> >    That and what's the point of having a <label> with a control in it
> > that the <label> is not associated with?
> 
> I don't know. What's the point again of having a form control inside a form,
> but not being associated with anything (including the form)?

Sometimes you need to make elements not be associated with the form, so 
that they won't be submitted with the form.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list