<?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>22316</bug_id>
          
          <creation_ts>2013-06-10 07:28:30 +0000</creation_ts>
          <short_desc>[Shadow]:  Shadow DOM: createShadowRoot() should not check if the context object is an element</short_desc>
          <delta_ts>2013-06-13 02:28:30 +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>All</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14978</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hayato Ito">hayato</reporter>
          <assigned_to name="Hayato Ito">hayato</assigned_to>
          <cc>dominicc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88989</commentid>
    <comment_count>0</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-06-10 07:28:30 +0000</bug_when>
    <thetext>Filed in crbug.com:
  https://code.google.com/p/chromium/issues/detail?id=248001.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89040</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-06-10 23:17:15 +0000</bug_when>
    <thetext>This check is the purview of Web IDL. Shadow DOM does not need to redundantly specify it. It also specifies a different error (Web IDL specifies TypeError), which is confusing. Let&apos;s not do that.

Specifically this check should be removed:

&quot;If the context object is not an element, throw an InvalidNodeTypeError.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89226</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-06-13 02:28:30 +0000</bug_when>
    <thetext>Fixed in https://dvcs.w3.org/hg/webcomponents/rev/434441b2d90e.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>