Re: [w3c/DOM-Parsing] Sort out what's happening with innerHTML on <script> and <style> in XML documents (#6)

It's strange, `body` has `"http://www.w3.org/1999/xhtml"` namespace so parsing some content for it should not use that namespace? But even when I use just `<script>` Gecko/IE11/Edge/Presto create this script with ``"http://www.w3.org/1999/xhtml"`` namespace (I update above test to show namespace for first child of document element).

Ok, so when change to `<script xmlns='http://www.w3.org/1999/xhtml'>` engines will product:
Gecko: `2 1 http://www.w3.org/1999/xhtml 2 1 http://www.w3.org/1999/xhtml`
Blink: `2 1 http://www.w3.org/1999/xhtml 2 1 http://www.w3.org/1999/xhtml`
Edge/IE11/Presto: `2 2 http://www.w3.org/1999/xhtml throw`

---
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-218194538

Received on Tuesday, 10 May 2016 15:32:52 UTC