- From: Travis Leithead <notifications@github.com>
- Date: Mon, 25 Apr 2016 10:13:37 -0700
- To: w3c/DOM-Parsing <DOM-Parsing@noreply.github.com>
- Cc:
Received on Monday, 25 April 2016 17:14:29 UTC
In Edge, with the following saved as an XML file:
```html
<root>
<script xmlns="http://www.w3.org/1999/xhtml" type="text/javascript"><![CDATA[
onload = function() {
var style = document.createElementNS("http://www.w3.org/1999/xhtml", "style");
style.innerHTML = "<foo></foo>";
document.documentElement.appendChild(style);
alert(style.firstChild);
}
]]>
</script>
</root>
```
I get an `HTMLUnknownElement`. Confirmed that in Chrome, Firefox, I get a `#text` node...
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/6#issuecomment-214446445
Received on Monday, 25 April 2016 17:14:29 UTC