[Bug 19431] Namespace of elements made via .createElement() in XML documents must be null

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19431

--- Comment #9 from Simon Pieters <simonp@opera.com> ---
(In reply to comment #6)
> This is still the HTML namespace in all five, removing the xmlns after the
> fact:
> 
> data:application/xhtml+xml,<!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head><script>
> document.documentElement.removeAttribute("xmlns");
> var s = document.createElement("x").namespaceURI;
> document.documentElement.textContent =
> typeof s + " " + s;
> </script></head><body></body></html>

Removing the xmlns attribute doesn't change the namespace of the root element.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1838

> In Opera it's
> dependent on the namespace of the initial root element, regardless of MIME
> type. 

s/initial/current/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 12 October 2012 08:42:35 UTC