Closed Bug 93602 Opened 24 years ago Closed 23 years ago

Implement Complete CSS2 Link and Dynamic Pseudo-Classes For Simple XLink Links in XML Documents

Categories

(Core :: CSS Parsing and Computation, enhancement, P1)

PowerPC
Mac System 9.x
enhancement

Tracking

()

VERIFIED DUPLICATE of bug 96984
Future

People

(Reporter: bugmail, Assigned: pierre)

References

Details

(Keywords: css2, testcase)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802 BuildID: 2001080214 The CSS2 Link and Dynamic Pseudo-Classes should apply to simple XLinks in XML documents. At present, ":visited" and ":hover" do not work. The link pseudo-classes are ":link" and ":visited", and the dynamic pseudo-classes are ":active", ":hover", and ":focus". Reproducible: Always Steps to Reproduce: 1. Access the attached testcase 2. Observe that the link is green, as :link is defined 3. Hover over the link. Observe that it remains green, rather than adopting the :hover color of purple. 4. Click the link; notice the maroon color, which is :focus overriding :active. 5. Follow the link, and return to the testcase. Notice that the link, though visited, does not display in the :visited style, but rather the :link style. Actual Results: The ":visited" and ":hover" CSS2 Pseudo-Class styles are not displayed. Expected Results: The ":visited" and ":hover" CSS2 Pseudo-Class styles should be displayed.
Depends on: 93598
Keywords: css2
Keywords: testcase
Severity: normal → enhancement
Heikki, I set the milestone to moz1.1 but feel free to change it if you think that the bug should be fixed sooner.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.1
Bulk moving from Moz1.1 to future-P1. I will pull from this list when scheduling work post Mozilla1.0.
Priority: P3 → P1
Target Milestone: mozilla1.1 → Future
I think this is a duplicate of the bug that we restrict ":hover" to certain elements, contrary to the CSS spec. However, note that the selectors you probably want are: :link:active, :visited:active :link:hover, :visited:hover :link:focus, :visited:focus since the dynamic pseudo-classes apply to all elements, not just links.
*** This bug has been marked as a duplicate of 96984 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
(The part about link pseudo-classes is a duplicate of bug 93598.)
VERIFIED DUPLICATE (twice)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: