[whatwg] [html5] Image captions in FIGUREs

Boris Zbarsky bzbarsky at MIT.EDU
Wed Jul 15 22:53:27 PDT 2009

Masataka Yakura wrote:
>> I'm confused by this - what exact FF build did you test in?  When I
>> try it in the current public 3.5, I get <legend> autowrapping itself
>> in a <fieldset>.
>> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Ctitle%3ETest%3C%2Ftitle%3E%0A%3Cfigure%3E%0A%20%20Test%20figure%0A%20%20%3Clegend%3Etest%20legend%3C%2Flegend%3E%0A%3C%2Ffigure%3E
> If you wrap the <figure> in a <div> then you'll see both <legend> and
> <fieldset> go away.
> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Ctitle%3ETest%3C%2Ftitle%3E%0A%3Cdiv%3E%0A%3Cfigure%3E%0A%20%20%3Cimg%20src%3Dimage%20alt%3D%22%22%3E%0A%20%20%3Clegend%3Elegend%3C%2Flegend%3E%0A%3C%2Ffigure%3E%0A%3C%2Fdiv%3E

Just as a note, I believe we consider both of these bugs, and plan to 
change behavior there.


More information about the whatwg mailing list