- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4564
nodeName for attributes in HTML documents should be lowercase
* khtml/xml/dom_elementimpl.cpp: (AttrImpl::nodeName): Removed the code to
uppercase the name when in HTML documents.
* layout-tests/dom/html/level1/core/hc_attrcreatedocumentfragment-expected.txt:
Updated to reflect the fact that this test now succeeds.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10322
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
-Test: http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrcreatedocumentfragment
-Status: failure
-Detail: hasLangAttr: assertEquals failed, actual 0, expected 1.
+Test: http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrcreatedocumentfragment
+Status: Success
+2005-08-25 Darin Adler <darin@apple.com>
+
+ Reviewed by John Sullivan.
+
+ - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4564
+ nodeName for attributes in HTML documents should be lowercase
+
+ * khtml/xml/dom_elementimpl.cpp: (AttrImpl::nodeName): Removed the code to
+ uppercase the name when in HTML documents.
+
+ * layout-tests/dom/html/level1/core/hc_attrcreatedocumentfragment-expected.txt:
+ Updated to reflect the fact that this test now succeeds.
+
2005-08-25 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
DOMString AttrImpl::nodeName() const
{
- if (m_element && m_element->getDocument()->isHTMLDocument())
- return name().upper(); // Have to uppercase attributes when returned in HTML (and not XML).
return name();
}