W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Re: Form-associated elements in the parsing algorithm

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 2 Dec 2008 20:56:57 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0812022056060.17401@hixie.dreamhostps.com>

On Tue, 2 Dec 2008, Boris Zbarsky wrote:
> > Ian Hickson wrote:
> > > > > > > You can get a list currently by clicking on the <dfn> for "form-
> > > > > > > associated element".
> 
> Ah, ok.  Note that <option> also has a |form| DOM attribute, but in 
> Gecko this is done by getting the |form| of the corresponding <select> 
> instead of making the <option> directly form-associated.

Indeed, that's what is currently specced too:

   http://www.whatwg.org/specs/web-apps/current-work/#dom-option-form

Are you saying I should do that for <legend> instead of making it 
form-associated? That would certainly make the spec and implementations 
simpler, and would mean we didn't have to have a form="" content attribute 
on <legend>.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 2 December 2008 20:57:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:27 GMT