[whatwg] XHTML and document.write()

Just a FYI. You have to deal with the edge case that the root element
might be <html:script>. Non conforming obviously, but what's supposed to
happen should still be defined. I guess you would ignore calls to
document.write() in such cases or perhaps copy the element and put it
inside a <html:html> element and try again... Ouch!

Not sure if nested <html:script> element would make things harder here...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 14 August 2006 07:22:01 UTC