Summary: | test for anchor pseudo classes fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | jasneet <jasneet> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ian, jasneet, tabatkins, webkit |
Priority: | P4 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.hixie.ch/tests/evil/css/css21/tests/t0511-c21-pseud-anch-00-e-i.htm |
Description
jasneet
2008-04-18 18:19:02 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? This test is invalid. It assumes that <a> elements can't receive the :active pseudoclass unless they're links, which is incorrect. |