W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2012

[Bug 20357] New: [Shadow]: Wrong argument names of ShadowRoot object methods

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Dec 2012 09:28:34 +0000
To: www-dom@w3.org
Message-ID: <bug-20357-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20357

            Bug ID: 20357
           Summary: [Shadow]: Wrong argument names of ShadowRoot object
                    methods
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: sgrekhov@unipro.ru
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org
            Blocks: 14978

In Shadow DOM specification
(https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-root-object)
the following methods of Shadow rot object are listed:

    NodeList getElementsByClassName(DOMString tagName);
    NodeList getElementsByTagName(DOMString className);

Argument name of getElementsByClassName() is tagName and argument name of
getElementsByTagName() is className. Should be vice versa.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 12 December 2012 09:28:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 December 2012 09:28:42 GMT