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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Sep 2009 10:12:46 -0500
Message-ID: <dd0fbad0909290812o4bb29daeuf7c9dfabbaa0a8a6@mail.gmail.com>
On Tue, Sep 29, 2009 at 8:47 AM, Dean Edwards <dean.edwards at gmail.com> wrote:
> This will also affect the <figure> element.
> Test case:
> http://dean.edwards.name/test/details.html

Luckily this has already been discovered and hacked around:


This hack can also be applied via document.write(), so it can be
integrated into existing scripts that fix legacy IE renderings via the
document.createElement() hack.  (The only restriction is that it
immediately switches IE parsing into body mode, so it must be the very
last thing in <head>.)

Received on Tuesday, 29 September 2009 08:12:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC