<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20357</bug_id>
          
          <creation_ts>2012-12-12 09:28:34 +0000</creation_ts>
          <short_desc>[Shadow]: Wrong argument names of ShadowRoot object methods</short_desc>
          <delta_ts>2013-10-24 07:54:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>22716</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey G. Grekhov">sgrekhov</reporter>
          <assigned_to name="Hayato Ito">hayato</assigned_to>
          <cc>hayato</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80001</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey G. Grekhov">sgrekhov</who>
    <bug_when>2012-12-12 09:28:34 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95279</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-10-24 07:54:25 +0000</bug_when>
    <thetext>Fixed at https://dvcs.w3.org/hg/webcomponents/rev/f2908f2808a9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>