<?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>21924</bug_id>
          
          <creation_ts>2013-05-03 21:40:42 +0000</creation_ts>
          <short_desc>[Shadow]: Remove pseudo-classes/elements from selector fragments</short_desc>
          <delta_ts>2013-05-10 01:29:01 +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>18428</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>jonas</cc>
    
    <cc>mrbkap</cc>
    
    <cc>wchen</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87227</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-03 21:40:42 +0000</bug_when>
    <thetext>They complicate implementation and are not super-useful. We can add them later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87439</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-08 17:32:32 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcomponents/rev/0a5eaa16902a

I commented these out for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87454</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2013-05-08 18:58:56 +0000</bug_when>
    <thetext>Rhe first list in &quot;4.3 Matching Insertion Points&quot; is really hard to understand. I think I know what it&apos;s trying to say, but I don&apos;t understand how it&apos;s trying to say it.

I wish there was some way to simply say that we&apos;re matching against the elements that are being inserted into that shadow tree, and that the comma-separated &quot;compound selectors&quot; are matched against those elements. I.e. express it in terms of pattern matching rather than selecting. But I don&apos;t know if CSS has that vocabulary.

Something else that I realized is that we can, and probably should, allow the negation pseudo-class. But the contents of that pseudo class must still be the same types of selectors that we normally require.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87459</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-08 19:47:18 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Rhe first list in &quot;4.3 Matching Insertion Points&quot; is really hard to
&gt; understand. I think I know what it&apos;s trying to say, but I don&apos;t understand
&gt; how it&apos;s trying to say it.
&gt; 
&gt; I wish there was some way to simply say that we&apos;re matching against the
&gt; elements that are being inserted into that shadow tree, and that the
&gt; comma-separated &quot;compound selectors&quot; are matched against those elements.
&gt; I.e. express it in terms of pattern matching rather than selecting. But I
&gt; don&apos;t know if CSS has that vocabulary.

I agree, that whole section needs to be rewritten.

&gt; Something else that I realized is that we can, and probably should, allow
&gt; the negation pseudo-class. But the contents of that pseudo class must still
&gt; be the same types of selectors that we normally require.

So, should I uncomment them back? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87464</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-08 22:02:56 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; &gt; Something else that I realized is that we can, and probably should, allow
&gt; &gt; the negation pseudo-class. But the contents of that pseudo class must still
&gt; &gt; be the same types of selectors that we normally require.
&gt; 
&gt; So, should I uncomment them back? :)

Ah, I misread your comment. Can we put negation on the back-burner until you guys have an implementation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87467</commentid>
    <comment_count>5</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2013-05-08 22:35:13 +0000</bug_when>
    <thetext>Sure, I don&apos;t feel strongly. I&apos;d suspect you&apos;ll quicker see an implementation which supports :not() if it&apos;s in the spec right away though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87513</commentid>
    <comment_count>6</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-05-09 20:57:00 +0000</bug_when>
    <thetext>I rewrote the text around matching criteria. It should be simpler/clearer/better:

https://dvcs.w3.org/hg/webcomponents/rev/c951bba69aa9

Please take a look:

https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#satisfying-matching-criteria</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87526</commentid>
    <comment_count>7</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2013-05-10 01:29:01 +0000</bug_when>
    <thetext>Great!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>