<?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>24316</bug_id>
          
          <creation_ts>2014-01-17 05:03:17 +0000</creation_ts>
          <short_desc>[Shadow]: implement :ancestor and change :host behavior</short_desc>
          <delta_ts>2014-05-29 07:17:40 +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>22715</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Takashi Sakamoto">tasak</reporter>
          <assigned_to name="Hayato Ito">hayato</assigned_to>
          <cc>annevk</cc>
    
    <cc>hayato</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98678</commentid>
    <comment_count>0</comment_count>
    <who name="Takashi Sakamoto">tasak</who>
    <bug_when>2014-01-17 05:03:17 +0000</bug_when>
    <thetext>:host is often used with :host, e.g.

:host(div:host), :host(.foobar:host) and so on.

So it would be better to change :host&apos;s parameter to match only shadow hosts.

Instead, implement :ancestor (we need better name for this pseudo class) to have the same behavior as old :host.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98679</commentid>
    <comment_count>1</comment_count>
    <who name="Takashi Sakamoto">tasak</who>
    <bug_when>2014-01-17 05:04:59 +0000</bug_when>
    <thetext>Currently we have the following idea about &quot;better name&quot; for :ancestor,

(1) :shadow-ancestor,
(2) :host-ancestor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98694</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-17 11:18:31 +0000</bug_when>
    <thetext>Does :ancestor not match self? Because that is named &quot;inclusive ancestor&quot; in the DOM... (I don&apos;t know what :host used to match, sorry.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106962</commentid>
    <comment_count>3</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2014-05-29 07:17:40 +0000</bug_when>
    <thetext>This should have been addressed in css-scoping spec. Let me close.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>