- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 22 Apr 2016 10:29:06 -0700
- To: w3c/DOM-Parsing <DOM-Parsing@noreply.github.com>
- Cc:
Received on Friday, 22 April 2016 17:30:05 UTC
In at least Chrome, Safari, and Firefox, it looks like this: var style = document.createElementNS("http://www.w3.org/1999/xhtml", "style"); style.innerHTML = "<foo></foo>"; will create a textnode with the text `"<foo></foo>"` as a child of the `<style>` element. Even if this is happening in an XML/XHTML document. Per spec, I would think in an XML document this should create a child element named "foo", no? I haven't had a chance to check what IE/Edge do here yet. /cc @annevk @smaug---- --- 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
Received on Friday, 22 April 2016 17:30:05 UTC