W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] [WF2] Label with empty for attribute

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 14 Aug 2006 20:21:44 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608142021080.5340@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 14 August 2006 13:21:44 UTC

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