[Webkit-unassigned] [Bug 10932] SVGDocument::createElement does not create elements in the SVG namespace

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Sep 26 16:19:38 PDT 2006


------- Comment #17 from macdome at opendarwin.org  2006-09-26 16:19 PDT -------
Hixie has proposed an alternative.

We just change createElement to always default to the xhtml namespace.  Then
the mental model is, all of the create* function are the "html functions" and
create*NS functions are the "new way" to do namespace-aware manipulation.  This
is potentially less confusing than create* are "smart" about what the current
document is.

I should also note, that mozilla currently special cases xhtml to have
createElement return html elements.  That weakens the argument that SVG should
not do the same, since "being like xhtml" would mean either returning xhtml
namespaced elements (like Hixie is proposing) or returning svg namespaced
elements (like this bug meant originally).

Configure bugmail: http://bugzilla.opendarwin.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