W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2015

[Bug 28109] New: Inconsistent argument naming in createElementNS and createAttributeNS

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Feb 2015 16:58:49 +0000
To: www-dom@w3.org
Message-ID: <bug-28109-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28109

            Bug ID: 28109
           Summary: Inconsistent argument naming in createElementNS and
                    createAttributeNS
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: philipj@opera.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

https://dom.spec.whatwg.org/#document

Element createElementNS(DOMString? namespace, DOMString qualifiedName)

vs

Attr createAttributeNS(DOMString? namespace, DOMString name);

The algorithms look very similar, it seems like createAttributeNS should call
its argument qualifiedName too. Maybe. Blink's IDL files do anyway.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 26 February 2015 16:58:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:23 UTC