Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / innerHTML-detached-element.xhtml
blob6f3fed0ba275884e6fe31bd3e52d1e779432f8c4
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body>
3 <pre id="log"/>
4 <script><![CDATA[
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 function log(message) {
9 document.getElementById("log").textContent += (message + "\n");
12 var div = document.createElement("div");
13 div.innerHTML = "<i>This should be italic.</i>";
14 log("Parsed element namespace: " + div.firstChild.namespaceURI);
15 document.getElementsByTagName("body")[0].appendChild(div);
16 ]]></script>
17 </body>
18 </html>