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

[whatwg] [html5] Image captions in FIGUREs

From: Masataka Yakura <myakura.web@gmail.com>
Date: Thu, 16 Jul 2009 09:26:55 +0900
Message-ID: <827d89250907151726p4b0c8701v5e8967533700de0@mail.gmail.com>
On Thu, Jul 16, 2009 at 7:31 AM, Tab Atkins Jr.<jackalmage at gmail.com> wrote:
> On Wed, Jul 15, 2009 at 5:13 PM, Aryeh Gregor<Simetrical+w3c at gmail.com> 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

-- 
Masataka Yakura
<myakura.web at gmail.com>
Received on Wednesday, 15 July 2009 17:26:55 UTC

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