W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: document.write

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 3 Apr 2003 21:21:32 +0100 (BST)
Message-Id: <200304032021.h33KLWL02922@djwhome.demon.co.uk>
To: www-html@w3.org

> Why?  There is nothing I can see in any specification preventing 
> application of the HTML DOM to XHTML documents.... (and in fact Mozilla 

But W3C DOM document.write requires an explicit open and close.  There
is nothing in the spec that I've seen that suggests that these operations
are performed implicitly around the loading of the current page.  Also
load time document.writes would be working on an only partially built
parse tree; that seems inconsistent with idea of a DOM based on a
complete tree (although XML languages don't require lookahead and HTML
might not do so, so the generated content may not require the construction
of the parse tree to be backtracked).
Received on Thursday, 3 April 2003 15:22:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC