<?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>23778</bug_id>
          
          <creation_ts>2013-11-08 21:49:15 +0000</creation_ts>
          <short_desc>[Custom]: Avoid difference in &quot;created&quot; callback ordering in parsing vs. cloning</short_desc>
          <delta_ts>2013-11-19 17:50:09 +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>14968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dominicc</cc>
    
    <cc>mrbkap</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96041</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-11-08 21:49:15 +0000</bug_when>
    <thetext>First discussed in: https://groups.google.com/d/topic/polymer-dev/a4rFb6NgktE/discussion

As specified now, the order of &quot;created&quot; callback in a DOM tree will be different for for parsing versus cloning

For example, in http://jsbin.com/uxIbOQo/2/edit?js,console
The output is:

&quot;order of callbacks when parsing:&quot;
&quot;C&quot;
&quot;B&quot;
&quot;A&quot;
&quot;order of callbacks when cloning:&quot;
&quot;A&quot;
&quot;B&quot;
&quot;C&quot;

This seems inconsistent. We should consider removing the special-casing of callback ordering in HTML parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96496</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-11-19 03:46:26 +0000</bug_when>
    <thetext>Implementer feedback: I have made Blink follow this proposed ordering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96523</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-11-19 17:50:09 +0000</bug_when>
    <thetext>https://github.com/w3c/webcomponents/commit/e0f06bec902b98eef8981b8a34095a265a4051cc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>