[Bug 6689] New: Element.setAttributeNode() shouldn't modify the attribute node

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6689

           Summary: Element.setAttributeNode() shouldn't modify the
                    attribute node
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


The spec says that Element.setAttributeNode() lower cases the attribute name.
It doesn't make sense for a method on Element to mutate the attribute node.

Either the spec shouldn't prescribe lower casing for attribute nodes or the
lower casing should take place in Document.createAttribute().


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 12 March 2009 13:56:13 UTC