W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] XHTML and document.write()

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 14 Aug 2006 07:22:01 -0700
Message-ID: <op.td916zzqaw9dld@id-c0020.globalsuite.net>
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

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