[Webkit-unassigned] [Bug 17167] Failures in fast/dom/Node/initial-values.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 19 01:24:45 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=17167





------- Comment #15 from ap at webkit.org  2009-02-19 01:24 PDT -------
(From update of attachment 27769)
+As we cannot test if an HTMLElement is an XHTML
+element, our fix is to check whether it has a prefix and then default
+to XML behaviour for nodeName.

I don't understand this comment (or a FIXME in HTMLElement.cpp) Where is "XHTML
element" defined?

In Firefox, HTML elements created by parsing HTML documents (or via
createElement) have a null namespace, which is not the case in WebKit and in
HTML5. See also
<http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/nsGenericHTMLElement.cpp#327>.

Changing the behavior for names with prefixes seemed logical and safe, but
saying that XHTML elements should be different from HTML elements is an
entirely different thing.


-- 
Configure bugmail: https://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