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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18607</bug_id>
          
          <creation_ts>2008-04-18 18:19:02 -0700</creation_ts>
          <short_desc>test for anchor pseudo classes fails</short_desc>
          <delta_ts>2011-10-20 04:56:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.hixie.ch/tests/evil/css/css21/tests/t0511-c21-pseud-anch-00-e-i.htm</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
    
    <cc>jasneet</cc>
    
    <cc>tabatkins</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78199</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-04-18 18:19:02 -0700</bug_when>
    <thetext>I Steps:
Go to 
http://www.hixie.ch/tests/evil/css/css21/tests/t0511-c21-pseud-anch-00-e-i.htm

II Issue:
The link changes to color red on clicking and then changes back to green after the click.It remains red if you hold the mouse button when you click. In IE, it doesn&apos;t change the color on clicking.

III Conclusion:
issue with anchor pseudo classes

IV Other browsers:
IE7: ok
FF3: not ok
Opera9.24: not ok

V Nightly tested: 32005

Similar links:
http://www.hixie.ch/tests/evil/css/css21/tests/t0511-c21-pseud-link-02-e.htm
http://www.hixie.ch/tests/evil/css/css21/tests/t0511-c21-pseud-link-03-e.htm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82102</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-06-02 03:46:47 -0700</bug_when>
    <thetext>In my opinion the test case is wrong according the latest CSS 2.1 CR specification:

&quot;Note. In CSS1, the &apos;:active&apos; pseudo-class was mutually exclusive with &apos;:link&apos; and &apos;:visited&apos;. That is no longer the case. An element can be both &apos;:visited&apos; and &apos;:active&apos; (or &apos;:link&apos; and &apos;:active&apos;) and the normal cascading rules determine which style declarations apply.

Note. Also note that in CSS1, the &apos;:active&apos; pseudo-class only applied to links.&quot;

So Webkit, Firefox and Opera correctly applied :active style to an A element, even it is not valid link. IE fails on it.

The bug report is incorrect in my opinion. Any other comments on this case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487495</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2011-10-20 04:56:03 -0700</bug_when>
    <thetext>This test is invalid.  It assumes that &lt;a&gt; elements can&apos;t receive the :active pseudoclass unless they&apos;re links, which is incorrect.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>