Hover states for tree view expansion and collapse controls for Aero

VERIFIED FIXED in Firefox 3

Status

()

Firefox
Theme
VERIFIED FIXED
10 years ago
10 years ago

People

(Reporter: faaborg, Assigned: Ehsan)

Tracking

Trunk
Firefox 3
All
Windows Vista
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
The tree views in aero should have a hover state for both expansion on collapse controls.  These files will land with bug 430729:

/toolkit/themes/winstripe/global/tree/twisty-clsd-hover-aero.png
/toolkit/themes/winstripe/global/tree/twisty-open-hover-aero.png
(Reporter)

Updated

10 years ago
Depends on: 430759
No longer depends on: 430729
(Assignee)

Comment 1

10 years ago
The following code yields a weird behavior.

treechildren:hover::-moz-tree-twisty {
  list-style-image: url("chrome://global/skin/tree/twisty-clsd-hover.png");
}

treechildren:hover::-moz-tree-twisty(open) {
  list-style-image: url("chrome://global/skin/tree/twisty-open-hover.png");
}

The twisties become highlighted when the mouse hovers an item, and stay highlighted after the mouse leaves the item.  In addition, when a node is closed and re-opened, all of its child notes become highlighted as well.

Is there another method of implementing this?

Comment 2

10 years ago
treechildren::-moz-tree-twisty(hover)
(Assignee)

Comment 3

10 years ago
Thanks for the tip, Dão.

Because both this bug and bug 431057 need a new tree-aero.css, I'm going to update the patch at that bug with the changes required to resolve this one as well, and I'll mark this fixed as soon as bug 431057 lands.
Assignee: nobody → ehsan.akhgari
Depends on: 431057
Whiteboard: [patch in bug 431057]
(Assignee)

Updated

10 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 4

10 years ago
Bug 431057 landed, so this one is fixed.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: [patch in bug 431057]
Target Milestone: --- → Firefox 3
Verified with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 ID:2008052906
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.