W3C home > Mailing lists > Public > public-html@w3.org > March 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 12 Mar 2009 13:56:00 +0000
To: public-html@w3.org
Message-ID: <bug-6689-2495@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:43 UTC