Bug 20357 - [Shadow]: Wrong argument names of ShadowRoot object methods
Summary: [Shadow]: Wrong argument names of ShadowRoot object methods
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
Depends on:
Blocks: 22716
  Show dependency treegraph
Reported: 2012-12-12 09:28 UTC by Sergey G. Grekhov
Modified: 2013-10-24 07:54 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey G. Grekhov 2012-12-12 09:28:34 UTC
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.
Comment 1 Hayato Ito 2013-10-24 07:54:25 UTC
Fixed at https://dvcs.w3.org/hg/webcomponents/rev/f2908f2808a9