W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: Proposal for <figure> graceful degradation

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 16 Sep 2007 14:10:56 -0500
Message-ID: <46ED7FC0.7090600@mit.edu>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: "public-html@w3.org WG" <public-html@w3.org>

Lachlan Hunt wrote:
> In Firefox 2 and IE7, the legend element does not occur within the 
> figure and it is given the special default styling.

Right.  That was Maciej's post about the autoclosing behavior when a block is 
placed inside an unknown element (which is treated as an inline in the HTML 
sense in Gecko).

> Additionally, in Firefox, if the fieldset doesn't have its own legend, 
> the figure's legend is visually moved to the top of the fieldset, to the 
> normal position.

Right.  Since in the DOM the <legend> is a direct child of the <fieldset> in 
your testcase in Gecko, it's treated like any other <legend> would be that is a 
chilf of a <fieldset>.

-Boris
Received on Sunday, 16 September 2007 19:11:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:07 GMT