Bug 5231

Summary: attributes don't return correct values for namespaceURI and localName
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: DOMAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Implement localName and namespaceURI for documents
eric: review+
Test case
none
Correct patch eric: review+

Description Anders Carlsson 2005-10-02 04:15:24 PDT
namespaceURI and localName aren't implemented for AttrImpl nodes.
Comment 1 Anders Carlsson 2005-10-02 04:20:49 PDT
Created attachment 4143 [details]
Implement localName and namespaceURI for documents
Comment 2 Anders Carlsson 2005-10-02 04:21:13 PDT
Created attachment 4144 [details]
Test case
Comment 3 Anders Carlsson 2005-10-02 04:22:03 PDT
Created attachment 4145 [details]
Correct patch
Comment 4 Eric Seidel (no email) 2005-10-02 10:03:11 PDT
Comment on attachment 4145 [details]
Correct patch

looks great, r=me.  ideally it would have an end-of-file newline, but I'll fix
as I'm landing.
Comment 5 Eric Seidel (no email) 2005-10-02 10:03:42 PDT
Comment on attachment 4143 [details]
Implement localName and namespaceURI for documents

Looks good.
Comment 6 Darin Adler 2005-10-02 21:06:29 PDT
Just call me Mr. Premature Optimization -- I'd have made these inline functions.
Comment 7 Darin Adler 2005-10-02 22:48:45 PDT
Anders landed this but forgot to mark it resolved.
Comment 8 Lucas Forschler 2019-02-06 09:04:10 PST
Mass moving XML DOM bugs to the "DOM" Component.