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

Re: Form-associated elements in the parsing algorithm

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 30 Nov 2008 22:49:16 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0811302248380.17401@hixie.dreamhostps.com>

On Sun, 30 Nov 2008, Henri Sivonen wrote:
> On Nov 26, 2008, at 23:44, Ian Hickson wrote:
> 
> > > This could be clearer if that section enumerated the elements that are
> > > form-associated. For example, I tell at a glance if the list matched the
> > > list at
> > > http://mxr.mozilla.org/mozilla-central/source/content/html/document/src/nsHTMLContentSink.cpp#509
> > 
> > You can get a list currently by clicking on the <dfn> for "form-associated
> > element".
> 
> <legend> is form-associated in Gecko but not in HTML5. Is this 
> intentional and what might the consequences be?

I can't reproduce this in IE8b2 or Firefox trunk:

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%3Cform%3E%3Cinput%3E%3Cfieldset%3E%3Clegend%3E%3Cscript%3Ew%28document.forms[0].elements[2]%29%3C%2Fscript%3E

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 30 November 2008 22:55:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:59 UTC