Re: Form-associated elements in the parsing algorithm

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