Summary: | REGRESSION (r20997): createAttribute is supposed to create an Attr with localName of null (LayoutTests/dom/xhtml/level3/core/nodeisequalnode14.xhtml) | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ap, cdumez, jchaffraix, sam |
Priority: | P1 | Keywords: | HasReduction, InRadar, Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
Bug Depends on: | 17060 | ||
Bug Blocks: |
Description
David Kilzer (:ddkilzer)
2008-01-28 13:17:53 PST
FWIW, we match Firefox 3 beta on this test. Firefox 2 doesn't support isEqualNode, but document.createAttribute("root").localName is also equal to "root". This failure is documented by the "fast/dom/Node/initial-values.html" test case soon to be landed as part of: http://bugs.webkit.org/show_bug.cgi?id=17060 Chris Dumez says in <rdar://problem/5710854>: ''' This test is failing in all browsers. I think it is safe to assume it is outdated. attr1 = doc.createAttribute("root"); // create an attribute whose localName is “root”. The namespaceURI is null by default. attr2 = doc.createAttributeNS(nullNSURI,"root"); // create an attribute whose localName is “root” and namespaceURI is null. The test expects attr1.isEqualNode(attr2) to be false. However, the created attributes are identical so the test is indeed outdated. ''' |