Closed Bug 245211 Opened 20 years ago Closed 20 years ago

Mozilla forgets :first-letter after :hover

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 23604

People

(Reporter: bugzilla, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7) Gecko/20040514
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7) Gecko/20040514

Look at this HTML snippet:
<p><a href="http://www.example.com/">some text</a></p>

We want to assign some properties to the firt letter, e.g.:
p:first-letter {color:green;text-transform:capitalize}

It's OK. But what if we defined some :hover rules e.g.:
a:hover {background-color:yellow}
After document loading is everything OK. But when you place mouse cursor over
the link and back, the :first-letter rule is no longer applied.

Reproducible: Always
Steps to Reproduce:
Attached file Testcase
Added simple testcase

*** This bug has been marked as a duplicate of 23604 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
v=aha
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: