Closed Bug 430895 Opened 16 years ago Closed 16 years ago

Hover states for tree view expansion and collapse controls for Aero

Categories

(Firefox :: Theme, defect)

All
Windows Vista
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3

People

(Reporter: faaborg, Assigned: ehsan.akhgari)

References

Details

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
Depends on: 430759
No longer depends on: 430729
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?
treechildren::-moz-tree-twisty(hover)
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]
Status: NEW → ASSIGNED
Bug 431057 landed, so this one is fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 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.