<?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>28441</bug_id>
          
          <creation_ts>2015-04-08 15:49:50 +0000</creation_ts>
          <short_desc>[Shadow]: Declarative Shadow DOM</short_desc>
          <delta_ts>2015-05-27 02:50:28 +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>
          
          <blocked>15480</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>hayato</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-webapps</cc>
    
    <cc>rniwa</cc>
    
    <cc>timdream</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119369</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2015-04-08 15:49:50 +0000</bug_when>
    <thetext>From: https://lists.w3.org/Archives/Public/public-webapps/2015AprJun/0052.html

&quot;Mostly for performance it would be nice if
the composed tree could be serialized and cached. That way first
render only requires HTML and CSS with JavaScript kicking in at the
end. We reasoned it might not be too hard to add something like
&lt;shadowroot&gt; given our experience with &lt;template&gt;. The only difference
would be that &lt;shadowroot&gt; itself would also not be appended to the
tree and that the DocumentFragment nee ShadowRoot is associated with
&quot;its parent&quot;.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119382</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2015-04-08 16:21:10 +0000</bug_when>
    <thetext>Here&apos;s a fairly simple implementation of this using custom elements and templates: http://jsbin.com/xuheb/4/edit

I think this is a great example of:

a) using type extensions to avoid more hard-coded parsing behaviors

b) extensible web in action -- no need to wait on spec/browsers to ship this

c) custom element upgrades being helpful in avoiding additional tree traversals and deferring running of the script until whenever you actually need the tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120498</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-05-27 02:50:28 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/71</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>