Closed Bug 44170 Opened 24 years ago Closed 24 years ago

Tree Twisty does not respong to CSS :active

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: nbhatla, Assigned: hyatt)

Details

(Keywords: polish, Whiteboard: nsbeta3-)

In a Continuing Effort to make a Macintosh Classic Skin:

On the Macintosh, mouseDown on a twisty in a tree highlights the twisty.  
Using CSS, you should be able to simply alter the 'list-style-image' in an 
:active pseudo-class style, like so:

.tree-cell-twisty {
 list-style-image: url("chrome://global/skin/twisty-closed.gif");
 user-focus:ignore;
 padding-right: 2px;
}

.tree-cell-twisty:active {
 text-decoration: none;
 list-style-image: url("chrome://global/skin/twisty-closed-active.gif");
}

The :active style, however, has no effect and the new list-stye-image does 
not get displayed.

This bug should be nominated for nsbeta3 because it is a polish effect 
that results in a better and more fluid user experience.  In order for our 
classic skins to even be accepted and worthwhile, they must emulate that 
native GUI as good as they can.  This bug hampers this ability.
Keywords: nsbeta3, polish
hyatt?
Assignee: trudelle → hyatt
Keywords: skins
Target Milestone: --- → M21
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: nsbeta3-
Target Milestone: M21 → Future
fixed by 53091 fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Keywords: skins
You need to log in before you can comment on or make changes to this bug.