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

Henri Sivonen hsivonen at iki.fi
Wed Sep 30 04:41:30 PDT 2009


A generic (even if potentially slow) solution to the parsing issues  
would be tweaking the DOM glue code of http://livedom.validator.nu/ to  
work in IE (perhaps with SVG Web for SVG subtrees and Math Player for  
MathML subtrees), adding a way for the tree builder to attach to an  
existing DOM (go straight to "in body" and initialize the stack and  
the head pointer from head, body and html from the tree constructed by  
the browser's native parser) and conditionally (if an HTML5 parser  
isn't detected by examining the node produced by  
document.write("<svg></svg>");) doing document.write("<plaintext>")  
and then handing the contents of the plaintext element to the GWT- 
compiled JS version of the V.nu parser.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list