W3C home > Mailing lists > Public > public-html@w3.org > November 2009

Re: ISSUE-83 ACTION-152 Change Proposal for the use of dt/dd in figure and details

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 27 Nov 2009 20:13:29 -0800
Cc: public-html@w3.org
Message-id: <B2516BE3-48EB-4317-9E70-4603F6132969@apple.com>
To: Jeroen van der Gun <noreplytopreventspam@blijbol.nl>

On Nov 26, 2009, at 2:54 PM, Jeroen van der Gun wrote:

> Hello folks,
>
> This proposal lists three reasons for the change. I'd like to point
> out that I discovered that one of them, the technical failure in IE6
> and IE7, is actually invalid.
>
> The problem is about styles getting leaked to the parent. By putting
> the figure or details element inside a div element, the closing tag of
> the div effectively solves the problem. Since this div needs to exist
> anyway to be able to style the figure or details element (since
> unknown elements cannot be styled in IE), the only way this problem
> can occur is if the dd or dt element is styled, but the figure or
> details element is not. So in reality this IE bug will rarely occur,
> and even if it does, it is extremely easy to solve.
>
> You can read more about this at my blog (test demonstration included):
> http://blog.jeroenvandergun.nl/7-html5-figure-and-details-do-not-break-in-ie
>
> Please take this into consideration before changing the HTML5  
> specification.

This does seem to mitigate the concern. I'm not sure whether it  
completely eliminates it. Is <figure> any trickier to use correctly  
than other new HTML5 elements, with this technique?

Regards,
Maciej
Received on Saturday, 28 November 2009 04:14:10 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:54 UTC