- From: <bugzilla@jessica.w3.org>
- Date: Thu, 05 May 2016 12:05:35 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29175 --- Comment #3 from Arkadiusz Michalski (Spirit) <crimsteam@gmail.com> --- And small test: <script type = "text/javascript"> var range = document.createRange(); var newFragment = document.createDocumentFragment(); newFragment.appendChild(document.createElement("html")); range.setStart(newFragment.firstChild, 0); alert(new XMLSerializer().serializeToString(range.createContextualFragment("<p>test"))); newFragment = document.createDocumentFragment(); var html = document.createElement("html"); var head = document.createElement("head"); html.appendChild(head); newFragment.appendChild(html); head.outerHTML = "<p>aaa"; alert(new XMLSerializer().serializeToString(newFragment)); // Chrome throw here so I put this test at the end newFragment = document.createDocumentFragment(); newFragment.appendChild(document.createElement("html")); newFragment.firstChild.outerHTML = "<p>test"; alert(new XMLSerializer().serializeToString(newFragment)); </script> -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 5 May 2016 12:05:44 UTC