Closed Bug 1181289 Opened 10 years ago Closed 10 years ago

Listbox scrollbars draw outside their bounds

Categories

(Core :: Widget: Cocoa, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(2 files)

This causes a reftest failure with my patch in bug 1178382. The scrollbar draw rect is 11 pixels wide, because listboxes use small scrollbars, but we tell CoreUI that the size of the scrollbar is "regular", so what we paint overflows outside the rectangle. We need to tell CoreUI that we want a scrollbar of size "small".
Attached patch patchSplinter Review
Attachment #8630664 - Flags: review?(smichaud)
Comment on attachment 8630664 [details] [diff] [review] patch This looks reasonable to me. I haven't tested it, though.
Attachment #8630664 - Flags: review?(smichaud) → review+
Attached file testcase
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: