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

On Fri, Nov 27, 2009 at 10:13 PM, Maciej Stachowiak <mjs@apple.com> wrote:
>
> 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?

It does provide a technique, but the technique is still a hack, as
even Jeroen states.

It does not mitigate my concerns.

>
> Regards,
> Maciej
>


Shelley

Received on Saturday, 28 November 2009 04:58:52 UTC