<?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>17515</bug_id>
          
          <creation_ts>2012-06-16 15:41:30 +0000</creation_ts>
          <short_desc>[Shadow]: @host and shadow insertion point</short_desc>
          <delta_ts>2013-07-17 18:21:04 +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>WONTFIX</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>18382</dependson>
          <blocked>15480</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dominicc</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69149</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-06-16 15:41:30 +0000</bug_when>
    <thetext>what does the @host do when the tree is itself assigned into a shadow insertion point?

Should it match &lt;shadow&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69175</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-06-18 01:48:13 +0000</bug_when>
    <thetext>To clarify, this would let people style the &lt;shadow&gt; element, however it would only affect inherited values since &lt;shadow&gt; element is not itself rendered?

The news widget use case in the spec would get more utility by @host identifying &lt;shadow&gt;, since it is still a news widget. But what is the essential issue? Is uniform composition like that always the case? Maybe more use cases will be illustrative.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71528</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-07-26 22:24:58 +0000</bug_when>
    <thetext>Bug 18382 has a different approach to the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71821</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-03 17:37:44 +0000</bug_when>
    <thetext>When shadow DOM is used to create controls/widget, the @host rules could be seen as a way to provide default styling for the box, surrounding the said widget. 

For example, imagine that &lt;input type=&quot;text&quot;&gt;&apos;s typical outline is actually styled using @host rules. 

Now, I want to add small icon inside of the input field to indicate something about the text content (calendar icon, for instance, to click and bring up a date picker). Always applying @host to the shadow host is the desired behavior here, since when I include the older shadow in my calendar icon shadow DOM subtree, I still want the text field&apos;s outline to be on the host, not at inclusion point.

However, if instead I want to add, say a password-strength indicator to the right of the field, I do want to put the outline styles somewhere on the &lt;shadow&gt; (but where?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71825</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-03 17:59:26 +0000</bug_when>
    <thetext>Punting until next draft.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90856</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-17 18:21:04 +0000</bug_when>
    <thetext>There&apos;s no @host anymore, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>