Closed Bug 611759 Opened 15 years ago Closed 14 years ago

[Pinstripe] Remove '-moz-appearance: treeheadersortarrow' from listbox.css/tree.css

Categories

(Toolkit :: Themes, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: stefanh, Assigned: stefanh)

Details

Attachments

(1 file)

Looking at tree.css and listbox.css we use "-moz-appearance: treeheadercell;" on treecol, treecolpicker and listheader. Then we use "-moz-appearance: treeheadersortarrow;" on .treecol-sortdirection and .listheader-sortdirection. Then we also use some ancient gif images for the sortDirection's that we never see. Looking at the widget code, treeheadersortarrow doesn't seem to do anything - instead it looks like the sort direction arrows are done by treeheadercell (NS_THEME_TREEVIEW_HEADER_CELL): 1826 case NS_THEME_TREEVIEW_HEADER_CELL: { 1827 TreeSortDirection sortDirection = GetTreeSortDirection(aFrame); 1828 DrawButton(cgContext, kThemeListHeaderButton, macRect, PR_FALSE, 1829 sortDirection == eTreeSortDirection_Natural ? kThemeButtonOff : kThemeButtonOn, 1830 sortDirection == eTreeSortDirection_Ascending ? 1831 kThemeAdornmentHeaderButtonSortUp : kThemeAdornmentNone, eventState, aFrame); 1832 } . . . 1843 case NS_THEME_TREEVIEW_HEADER: 1844 // do nothing, taken care of by individual header cells 1845 case NS_THEME_TREEVIEW_HEADER_SORTARROW: 1846 // do nothing, taken care of by treeview header
Attachment #490161 - Flags: review?(dao)
Summary: Remove '-moz-appearance: treeheadersortarrow' from listbox.css/tree.css → [Pinstripe] Remove '-moz-appearance: treeheadersortarrow' from listbox.css/tree.css
Attachment #490161 - Flags: review?(dao) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: