Closed Bug 184516 Opened 22 years ago Closed 22 years ago

Hover events don't allow generated content unless it's been "pre-set"

Categories

(Core :: CSS Parsing and Computation, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: emeyer, Assigned: dbaron)

References

Details

(Keywords: css2, testcase)

Attachments

(1 file)

This was a tough one to summarize-- hopefully someone will be able to do a
better job.  Combinations like 'a:hover:before' do not actually insert the value
of the 'content' property except in certain circumstances.  Thus:

   a:hover:before {content: "->";}

...does not actually do anything when an 'a' element is hovered.  However, if I
write:

   a:before {content: "";}
   a:hover:before {content: "->";}

...then Gecko acts as expected.  Testcase to follow.
   This was tested with 2002120203/MacOS9.1.  Searches for open
generated-content bugs showed nothing that seemed similar to this.
We have general problems with dynamic changes and generated content.  Boris has
a bug on that and has a (partial?) patch.
Yeah, patch in bug 126072 fixes this.
Depends on: 126072
Keywords: css2, testcase
fixed by checkin for bug 126072
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: