Bug 20357 - [Shadow]: Wrong argument names of ShadowRoot object methods
[Shadow]: Wrong argument names of ShadowRoot object methods
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: Component Model
unspecified
PC Windows NT
: P2 trivial
: ---
Assigned To: Hayato Ito
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:


Attachments

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