<?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>18345</bug_id>
          
          <creation_ts>2012-07-20 16:34:55 +0000</creation_ts>
          <short_desc>[Shadow]: @host in a shadow DOM subtree that is not rendered</short_desc>
          <delta_ts>2012-08-03 21:50:26 +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>16009</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71260</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-07-20 16:34:55 +0000</bug_when>
    <thetext>This is related to bug 17515, but is different enough to warrant its own bug.

Does the @host at-rule apply to the shadow host if it is specified in a shadow DOM subtree that is not currently rendered?

Example:

Troy built a CoolWidget and specified some styling on the host element using @host at-rule in its shadow DOM subtree.

Later, Abed builds a CoolCoolWidget, which is subclassed from CoolWidget, but has a completely different visual appearance. Thus, Abed chooses not to reuse Troy&apos;s shadow DOM subtree and does not include a &lt;shadow&gt; element in his widget&apos;s shadow DOM subtree.

The question is: does Abed have to now fight Troy&apos;s @host at-rules and defensively override them or do they just not apply, since Abed doesn&apos;t use any of Troy&apos;s tree?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71831</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-03 21:50:26 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/21d831260212</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>