Closed Bug 382145 Opened 17 years ago Closed 17 years ago

Listboxes cannot be styled

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: phiw2, Assigned: jaas)

References

Details

(Keywords: regression, testcase)

Attachments

(3 files, 1 obsolete file)

Attached file test case (deleted) —
Applying author styles to a select[multiple] or select[size] has no effect.

Both list boxes in the test case should have a thick red border and a greenish background.

Firefox 2.0 all platforms applies both styles, Camino 1.5rc only applies the border, WebKit builds apply both background-colour and border
Attached image screenshot of test case (deleted) —
topleft: WebKit build, top right: Minefield 20070526, bottom: Firefox 2.0.0.3
Note we do actually style the individual options themselves (at least for color; see attachment 202003 [details] from bug 315203), so styling is not completely broken, only mostly ;)
(In reply to comment #2)
> Note we do actually style the individual options themselves (at least for
> color; see attachment 202003 [details] from bug 315203), so styling is not completely
> broken, only mostly ;)

Styling the <option> element itself is not a problem. It is only the styling of the <select> element that is affected. And note that the color property gets applied on the <select> (see also bug 381647 for this).
Flags: blocking1.9? → blocking1.9+
Attached patch fix v1.0 (obsolete) (deleted) — Splinter Review
Attachment #278527 - Flags: review?(cbarrett)
Attached patch fix v1.1 (deleted) — Splinter Review
remove sListboxBGTransparent completely, it is no longer used
Attachment #278527 - Attachment is obsolete: true
Attachment #278528 - Flags: superreview?(roc)
Attachment #278527 - Flags: review?(cbarrett)
Attachment #278528 - Flags: superreview?(roc) → superreview+
landed on trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified with
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a8pre) Gecko/2007082821 Minefield/3.0a8pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: