W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] [html5] Image captions in FIGUREs

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 16 Jul 2009 01:53:27 -0400
Message-ID: <4A5EC057.9080104@mit.edu>
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.

-Boris
Received on Wednesday, 15 July 2009 22:53:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC