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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>103625</bug_id>
          
          <creation_ts>2012-11-29 03:45:18 -0800</creation_ts>
          <short_desc>[Shadow DOM]: Shadow insertion point styles are not applied to the shadow root children</short_desc>
          <delta_ts>2016-04-06 23:43:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>63606</blocked>
    
    <blocked>103230</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Sergey G. Grekhov">sgrekhov</reporter>
          <assigned_to name="Web Components Team">webcomponents-bugzilla</assigned_to>
          <cc>kochi</cc>
    
    <cc>morrita</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>778899</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey G. Grekhov">sgrekhov</who>
    <bug_when>2012-11-29 03:45:18 -0800</bug_when>
    <thetext>According the Shadow DOM specification (https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles) &quot;the styles of the shadow insertion point node are inherited by the child nodes of the shadow root of the shadow tree, distributed to this shadow insertion point&quot;. But it doesn&apos;t work in Chrome 23.0.1271.91 m. Example

&lt;html&gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot;&gt;

function test() {
    var SR = window.ShadowRoot || window.WebKitShadowRoot;
    var d = document;

    var host = d.createElement(&apos;div&apos;);
    d.body.appendChild(host);

    //Old tree
    var s1 = new SR(host);
    
    var div1 = d.createElement(&apos;div&apos;);
    div1.innerHTML = &apos;&lt;span id=&quot;shd1&quot;&gt;This is an old shadow tree&lt;/span&gt;&apos;; 
    s1.appendChild(div1);
    
    //younger tree
    var s2 = new SR(host);  
    var div2 = d.createElement(&apos;div&apos;);
    div2.innerHTML =  &apos;&lt;shadow style=&quot;color:red&quot;&gt;&lt;/shadow&gt;&apos;; 
    s2.appendChild(div2);
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onload=&quot;test()&quot;&gt;

&lt;/body&gt;
&lt;/html&gt;

Red color style is not applied to the tree nodes assigned to the shadow insertion point</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1181605</commentid>
    <comment_count>1</comment_count>
    <who name="Takayoshi Kochi">kochi</who>
    <bug_when>2016-04-06 23:43:37 -0700</bug_when>
    <thetext>This looks obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>