[Webkit-unassigned] [Bug 10932] SVGDocument::createElement does not create elements in the SVG namespace
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 11 00:58:13 PDT 2006
http://bugs.webkit.org/show_bug.cgi?id=10932
------- Comment #18 from bug at annevankesteren.nl 2006-10-11 00:58 PDT -------
What Opera does is the following:
* If it's an XML document you take document.documentElement.namespaceURI
and use that as a namespace. If that doesn't exist (or is null) you
use null.
* If it's an HTML document you create a "HTML element" which basically
behaves like the same element in the XHTML namespace.
This makes pages using document.createElement with <xhtml:html> as root element
work as expected and the same goes for <svg:svg> as root element.
Note that the special case for HTML wouldn't be a special case anymore if the
parsing section of HTML5 would be implemented.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list