Closed Bug 575162 Opened 14 years ago Closed 14 years ago

Bookmarks menu button doesn't retain depressed appearance when hovered

Categories

(Firefox :: Theme, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b1

People

(Reporter: mattcoz, Assigned: mak)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100627 Minefield/3.7a6pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100627 Minefield/3.7a6pre

When you open the bookmarks menu button, and then hover over the button or menu, it show the hover appearance instead of the depressed appearance that it should have.  This is because the hover css rule is taking precedence over the open css rule.

The selector in question is:

.toolbarbutton-1:not([disabled="true"]):not([checked="true"]):not(:active):hover

It should be changed to:

.toolbarbutton-1:not([disabled="true"]):not([checked="true"]):not([open="true"]):not(:active):hover

This is in browser.css, line 357.


Reproducible: Always

Steps to Reproduce:
1. Click bookmarks menu button
2. Hover over the button or menu
Actual Results:  
Hover appearance

Expected Results:  
Depressed appearance
Version: unspecified → Trunk
this is probably the same as bug 574508, or its cause
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Attached patch patch v1.0Splinter Review
yes it's the same, the flickering is due to the transition. Actually I tried to check if we wanted to just move out the transition but moving cursor in and out of the popup makes button look weird.
Gnomestripe does not have particular hover handlings.
Pinstripe does not have an hover styling on not(:active)
I quickly checked other rules and they look correct.

Thanks for pointing out both issue and location of the rule.
Attachment #454502 - Flags: review?(dao)
Attachment #454502 - Flags: review?(dao) → review+
http://hg.mozilla.org/mozilla-central/rev/d5dcc3dac43c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7b1
No longer blocks: 574508
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: