W3C home > Mailing lists > Public > public-html@w3.org > November 2008

Re: An HTML language specification

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 20 Nov 2008 16:43:43 -0500
Message-ID: <4925DA0F.1050500@mit.edu>
To: public-html@w3.org

Mark Baker wrote:
> Your definition of "go away" is implementation dependent.  Consider a
> (admittedly very inefficient) implementation which rewrote the byte
> stream and then reparsed it after a document.write().

This implementation would be not only inefficient but also incorrect. 
Consider the a document being loaded in a subframe which contains:

     document.write("I wrote something");

> The old document is the one before document.write() happened.  The new
> one is the document after.

That approach (per above) is not compatible with the way you actually 
have to parse if you're executing scripts....

Received on Thursday, 20 November 2008 21:45:29 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:39 UTC