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

[whatwg] The new content model for <details> breaks rendering in MSIE5-7

From: Jeremy Keith <jeremy@adactio.com>
Date: Fri, 27 Nov 2009 13:23:06 +0000
Message-ID: <846A107A-395E-4409-8939-716945B2A4CD@adactio.com>
On October 14th, Hixie wrote:
> As far as I can see the options are as follows:
> 1. Drop support for <details> and <figure> for now, revisit it later.
> 2. Use <legend>, and don't expect to be able to use it in any browsers
>    sanely for a few years.
> 3. Use <dt>/<dd>, and don't expect to be able to use it in old  
> versions
>    of IE without rather complicated and elaborate hacks for a few  
> years.
> 4. Invent a new element with a weird name (since all the good names  
> are
>    taken already), and don't expect to be able to use it in IE without
>    hacks for a few years.
> I am not convinced of the wisdom of #4. I prefer #2 long term, but I  
> see
> the argument for #3.

It looks like the workaround for #3 isn't quite as arduous as it first  


Wrapping the <details> or <figure> element in a <div> seems to fix  
IE's parsing. It's still not ideal but it's much better than the  
conditional comment <object> hackery.

(and again, this only relates to versions of IE before IE8)

So, on balance, #3 is looking more reasonable than #2 (which fails in  
a lot more browsers).


Jeremy Keith

a d a c t i o

Received on Friday, 27 November 2009 05:23:06 UTC

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