Closed
Bug 44360
Opened 24 years ago
Closed 24 years ago
:hover rule not working correctly
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: xalkina, Assigned: pierre)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
On the above page there's a menu with six main options, all of them having a
:hover rule thru the linked stylesheet. :hover is only working for the first and
second menu item, but not the other four!
Using linux/062920
PS: If you want me to create an attachment with translated menu items so that we
can better communicate, just ask!
Assignee | ||
Comment 1•24 years ago
|
||
You can notice that:
1) :hover works for the other items too if you visit them first.
2) This problem doesn't happen with submenu items (the items that appear
underneath the main menu item that is selected).
The 6 main menu items belong to the SideLinks class. The problem is that the CSS
files contains the "A.SideLinks:hover" declaration prior to the
"A.SideLinks:link" declaration *and* everything in :hover is overridden by :link.
To fix the problem you can either reverse the order of :hover and :link (exactly
as it is for the submenu items with the SideLinkNormal class), or change
something in the :link declaration in order not to completely override the :hover
declaration (for instance, remove the COLOR:#000000).
See the testcase that I'm going to attach for more info.
Closed as Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Marking VERIFIED INVALID per Pierre's comments.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•