Use the native check box appearance in XUL trees

NEW
Unassigned

Status

()

Toolkit
XUL Widgets
9 years ago
9 years ago

People

(Reporter: faaborg, Unassigned)

Tracking

Trunk
Points:
---
Bug Flags:
wanted1.9.2 ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

This is a follow up bug for polishing about:sessionrestore in Firefox (bug 459950).  Currently XUL trees use a black and white gif image of a check in columns that have the attribute type="checkbox"

The purpose of this bug is to propose switching to the native checkbox appearance on each platform.
(Reporter)

Comment 1

9 years ago
Created attachment 345816 [details]
Example of native appearance on OS X
Blocks: 459546
Version: unspecified → Trunk
This is not really easy. Trees are dumb.

If we don't want to use images, we need to teach trees how to use -moz-appearance for the ::-moz-tree-image pseudo element. And then we must make sure that the cell's state (checked, focused, mousedown) is passed to the theme drawing code correctly - this is a similar problem as in bug 301060. Furthermore, trees currently don't keep track of the mousedown state, so this must be added, too.
(Reporter)

Updated

9 years ago
Duplicate of this bug: 471320
about:sessionrestore could make use of bug 405913 or bug 367843 (not sure if there's a difference between these bugs).
Summary: Use native the native check box appearance in XUL trees → Use the native check box appearance in XUL trees

Updated

9 years ago
Flags: wanted1.9.2?
You need to log in before you can comment on or make changes to this bug.