Re: An HTML language specification

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 UTC