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

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 UTC