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'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
In my opinion the test case is wrong according the latest CSS 2.1 CR specification: "Note. In CSS1, the ':active' pseudo-class was mutually exclusive with ':link' and ':visited'. That is no longer the case. An element can be both ':visited' and ':active' (or ':link' and ':active') and the normal cascading rules determine which style declarations apply. Note. Also note that in CSS1, the ':active' pseudo-class only applied to links." 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?
This test is invalid. It assumes that <a> elements can't receive the :active pseudoclass unless they're links, which is incorrect.