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

Re: An HTML language specification

From: Mark Baker <distobj@acm.org>
Date: Fri, 21 Nov 2008 10:42:38 -0500
Message-ID: <e9dffd640811210742y7e62edb1s5f6e1097d81c04da@mail.gmail.com>
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: public-html@w3.org

On Thu, Nov 20, 2008 at 4:43 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>
> 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:
>
>  <script>
>    parent.nonIdempotentMethod();
>    document.write("I wrote something");
>  </script>

I didn't say that no state could be maintained between parsing the two
byte streams.

Mark.
Received on Friday, 21 November 2008 15:43:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:25 GMT