<?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>18454</bug_id>
          
          <creation_ts>2012-07-31 23:04:24 +0000</creation_ts>
          <short_desc>[Shadow]: Define how apply-author-styles affects sibling selectors</short_desc>
          <delta_ts>2012-08-07 22:42:00 +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>Windows NT</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="Tony Ross [MSFT]">tross</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>71716</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Ross [MSFT]">tross</who>
    <bug_when>2012-07-31 23:04:24 +0000</bug_when>
    <thetext>Per the current spec, authors can set the apply-author-styles flag to true to allow CSS selectors from the document to match content in the shadow sub tree. However, the spec does not call out how this impacts the application of sibling selectors (and nth-child selectors, etc.) for direct children of the ShadowRoot. 

Specifically, are the children of the ShadowRoot treated as an independent collection from the children of the shadow host for selector matching? This seems to be the implied effect, though alternatives like treating the ShadowRoot children as occurring before or after the children of the shadow host could be considered.

Either way, the spec should probably explicitly define this behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71743</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-01 16:37:58 +0000</bug_when>
    <thetext>Yes, this has been brought up in discussions with developers trying Shadow DOM. Need to be specific here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71910</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-08-07 22:42:00 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/215cb3ebda8f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>