[Webkit-unassigned] [Bug 14835] createElement(x) v. createElementNS(null, x) v. createElementNS(undefined, x)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 13:23:18 PDT 2007


ap at webkit.org changed:

           What    |Removed                     |Added
                 CC|                            |ap at webkit.org

------- Comment #1 from ap at webkit.org  2007-07-31 13:23 PDT -------
(In reply to comment #0)
> 1. createElement() creates elements with the xml namespace
> "http://www.w3.org/1999/xhtml" even though neither IE or Fx has that behavior.  

  This is by design, although there's a considerable disagreement on this
point, even among WebKit developers. The idea is that scripts written for HTML
should continue to work with XHTML, if at all possible.

> 2. createElementNS() behaves differently if the first argument is null or
> undefined. I think there is an incorrect string conversion occurring in the
> underlying code. 

  Both WebKit and Firefox 2 produce '<foo xmlns="undefined"/>' - could you
please clarify what the bug is?

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