<?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>3099</bug_id>
          
          <creation_ts>2006-04-09 11:38:06 +0000</creation_ts>
          <short_desc>Selector syntax:  validator passes selectors that have garbage values for names of pseudo-element/pseudo-class</short_desc>
          <delta_ts>2006-04-20 05:15:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 2.0</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="CecilWard">cecil</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9098</commentid>
    <comment_count>0</comment_count>
    <who name="CecilWard">cecil</who>
    <bug_when>2006-04-09 11:38:06 +0000</bug_when>
    <thetext>The validator seems quite happy with garbage pseudo-element/pseudo-class names.

Test cases:

*:hovverr {}
*:firrrst-line:hover {}
*:first-child\:first-line {}

Am I missing something?

[ Tested using &quot;direct input &gt; advanced &gt; CSS 2 grammar&quot; ]

Cecil Ward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9320</commentid>
    <comment_count>1</comment_count>
      <attachid>419</attachid>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-04-20 04:51:03 +0000</bug_when>
    <thetext>Created attachment 419
sample of CSS stylesheet with 3 bogus pseudo-element/pseudo-class

entering example from bug description as test case
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3099#c0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9321</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-04-20 05:15:37 +0000</bug_when>
    <thetext>Fixed in CVS by Jean-Guilhem Rouel.

Testable at 
http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2FBugs%2FPublic%2Fattachment.cgi%3Fid%3D419

Will be in the production service shortly.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>419</attachid>
            <date>2006-04-20 04:51:03 +0000</date>
            <delta_ts>2006-04-20 04:51:03 +0000</delta_ts>
            <desc>sample of CSS stylesheet with 3 bogus pseudo-element/pseudo-class</desc>
            <filename>3099-bogus_pseudo-element-pseudo-class.css</filename>
            <type>text/css</type>
            <size>65</size>
            <attacher name="Olivier Thereaux">ot</attacher>
            
              <data encoding="base64">Kjpob3Z2ZXJyIHt9DSo6ZmlycnJzdC1saW5lOmhvdmVyIHt9DSo6Zmlyc3QtY2hpbGRcOmZpcnN0
LWxpbmUge30=
</data>

          </attachment>
      

    </bug>

</bugzilla>