Listboxes cannot be styled

VERIFIED FIXED

Status

()

Core
Widget: Cocoa
VERIFIED FIXED
11 years ago
10 years ago

People

(Reporter: philippe (part-time), Assigned: Josh Aas)

Tracking

({regression, testcase})

Trunk
PowerPC
Mac OS X
regression, testcase
Points:
---
Bug Flags:
blocking1.9 +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments, 1 obsolete attachment)

(Reporter)

Description

11 years ago
Created attachment 266233 [details]
test case

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
(Reporter)

Comment 1

11 years ago
Created attachment 266234 [details]
screenshot of test case

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 ;)
(Reporter)

Comment 3

11 years ago
(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?
Keywords: regression, testcase
(Assignee)

Updated

10 years ago
Flags: blocking1.9? → blocking1.9+
(Assignee)

Comment 4

10 years ago
Created attachment 278527 [details] [diff] [review]
fix v1.0
Attachment #278527 - Flags: review?(cbarrett)
(Assignee)

Comment 5

10 years ago
Created attachment 278528 [details] [diff] [review]
fix v1.1

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+
(Assignee)

Comment 6

10 years ago
landed on trunk
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Reporter)

Comment 7

10 years ago
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.