<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>73214</bug_id>
          
          <creation_ts>2004-01-22 08:48:56 +0000</creation_ts>
          <short_desc>[test case] css picks wrong selector on hp.com (regression)</short_desc>
          <delta_ts>2004-02-22 12:53:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml renderer</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hasso Tepper">hasso</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>mihnea.balta</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>197521</commentid>
    <comment_count>0</comment_count>
    <who name="Hasso Tepper">hasso</who>
    <bug_when>2004-01-22 08:48:56 +0000</bug_when>
    <thetext>Version:           3.2.0 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.3.3 20040110 (prerelease) (Debian)
OS:          Linux (i686) release 2.6.1-rc1-mm2

In HP drivers download page text is rendered in white to the white background. For example - http://h18007.www1.hp.com/support/files/EvoNotebook/us/locate/20_5557.html
It&apos;s OK with Mozilla and Opera.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197629</commentid>
    <comment_count>1</comment_count>
      <attachid>4290</attachid>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-01-22 14:29:37 +0000</bug_when>
    <thetext>Created attachment 4290
test case

I wonder there is no css test case for that, but it&apos;s surely mean</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205990</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Mueller">mueller</who>
    <bug_when>2004-02-15 16:28:51 +0000</bug_when>
    <thetext>CVS commit by mueller: 

CCMAIL: 73214-done@bugs.kde.org


  M +5 -0      ChangeLog   1.205
  M +1 -1      css/css_base.cpp   1.14


--- kdelibs/khtml/ChangeLog  #1.204:1.205
@@ -1,2 +1,7 @@
+2004-02-15  Dirk Mueller  &lt;mueller@kde.org&gt;
+
+        * css/css_base.cpp (specificity): fix detection of the *
+        selector (#73214).
+
 2004-02-13  Zack Rusin  &lt;zack@kde.org&gt;
 

--- kdelibs/khtml/css/css_base.cpp  #1.13:1.14
@@ -135,5 +135,5 @@ unsigned int CSSSelector::specificity() 
         return 0;
 
-    int s = ((tag == 0xffff) ? 0 : 1);
+    int s = ((( tag &amp; NodeImpl_IdLocalMask ) == 0xffff) ? 0 : 1);
     switch(match)
     {


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208485</commentid>
    <comment_count>3</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2004-02-22 12:53:42 +0000</bug_when>
    <thetext>*** Bug 75821 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4290</attachid>
            <date>2004-01-22 14:29:37 +0000</date>
            <delta_ts>2004-01-22 14:29:37 +0000</delta_ts>
            <desc>test case</desc>
            <filename>73214.html</filename>
            <type>text/html</type>
            <size>515</size>
            <attacher name="Stephan Kulow">coolo</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIKImh0dHA6Ly93d3cudzMub3JnL1RSLzE5OTkvUkVDLWh0bWw0MDEtMTk5OTEyMjQvbG9v
c2UuZHRkIj4KCjxodG1sPgogIDxoZWFkPgogICAgPG1ldGEgbmFtZT0iZ2VuZXJhdG9yIiBjb250
ZW50PQogICAgIkhUTUwgVGlkeSBmb3IgTGludXgveDg2ICh2ZXJzIDFzdCBBcHJpbCAyMDAyKSwg
c2VlIHd3dy53My5vcmciPgoKICAgIDx0aXRsZT5DU1MgdGVzdDwvdGl0bGU+CgogICAgPHN0eWxl
IHR5cGU9InRleHQvY3NzIj4KZGl2IHsgY29sb3I6cmVkOyB9CmRpdi5sZWZ0bmF2IHsgY29sb3I6
Z3JlZW47IH0KLmxlZnRuYXYgeyBjb2xvcjogcmVkOyB9CiNsZWZ0bmF2IHsgY29sb3I6IHJlZDsg
fQogICAgPC9zdHlsZT4KICA8L2hlYWQ+CgogIDxib2R5PgogICAgPGRpdiBjbGFzcz0ibGVmdG5h
diI+CiAgICAgIEkgc2hvdWxkIGJlIGdyZWVuIAogICAgPC9kaXY+CiAgPC9ib2R5Pgo8L2h0bWw+
Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>