<?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>25563</bug_id>
          
          <creation_ts>2014-05-05 22:00:40 +0000</creation_ts>
          <short_desc>[Shadow]: Define the impact of ordering on relevant HTML elements</short_desc>
          <delta_ts>2015-07-06 08:07:39 +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>MOVED</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>
          <dependson>26365</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>hayato</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>wchen</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105106</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-05 22:00:40 +0000</bug_when>
    <thetext>Splitting off from bug 25562: 

&quot;We should further say that &lt;script&gt; elements execute. For inline scripts we need to define with order those script execute relative to &lt;script&gt; elements that are in the real document. I.e. if a out-of-document node is given &lt;script&gt; children as well as a Shadow DOM with &lt;script&gt; nodes, then which order do they execute in once the node is inserted into the document?&quot;

See http://jsbin.com/jigoc/1/edit for an example. I intuitively would&apos;ve have expected the scripts in shadow trees to execute first, but I don&apos;t care what we spec, as long as it is specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105111</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2014-05-05 22:06:13 +0000</bug_when>
    <thetext>I agree. I don&apos;t see any strong reasons for either order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105918</commentid>
    <comment_count>2</comment_count>
    <who name="William Chen">wchen</who>
    <bug_when>2014-05-13 21:24:18 +0000</bug_when>
    <thetext>In the current spec &lt;script&gt; would execute when they are inserted into the shadow tree even for host nodes that are out-of-document because it&apos;s caught by &quot;All other HTML elements in the shadow trees must behave as if they were part of the document tree.&quot; in the Shadow DOM spec. But as Jonas&apos;s comment in bug 25562 points out, that wording should be removed, and however we decide to spec the behavior of &lt;script&gt; we should make sure that &lt;script&gt; is only executed when the host is in document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121666</commentid>
    <comment_count>3</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:07:39 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/183</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>