- From: Domenic Denicola <d@domenic.me>
- Date: Fri, 17 Jul 2015 14:15:15 +0000
- To: Anne van Kesteren <annevk@annevk.nl>
- CC: public-webapps <public-webapps@w3.org>
From: Anne van Kesteren [mailto:annevk@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?
Received on Friday, 17 July 2015 14:15:45 UTC