From: Anne van Kesteren [mailto:ann...@annevk.nl] 

>> // What about
>> document.body.innerHTML = "[512 KiB of normal HTML] <x-foo></x-foo>"; 
>> // ? does the HTML make it in, or does the operation fail atomically, or 
>> something else?
>
> It fails atomically, based on the definition of innerHTML.

What if that 512 KiB of HTML contains <img src="foo.png">? Following 
definitions, I assume we fire off the network request?

What if it contains a <x-baz></x-baz> where XBaz's constructor does 
`document.body.innerHTML = "<p>Hello</p>"`? Can the parsing algorithm deal with 
the (following the definitions, required) re-entrancy?

Reply via email to