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

Tab Atkins Jr. jackalmage at gmail.com
Tue Sep 29 08:12:46 PDT 2009


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:

http://lists.w3.org/Archives/Public/public-html/2009Sep/0802.html

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>.)

~TJ


More information about the whatwg mailing list