WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
18607
test for anchor pseudo classes fails
https://bugs.webkit.org/show_bug.cgi?id=18607
Summary
test for anchor pseudo classes fails
jasneet
Reported
2008-04-18 18:19:02 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Robert Blaut
Comment 1
2008-06-02 03:46:47 PDT
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?
Tab Atkins
Comment 2
2011-10-20 04:56:03 PDT
This test is invalid. It assumes that <a> elements can't receive the :active pseudoclass unless they're links, which is incorrect.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug