Closed
Bug 360214
Opened 19 years ago
Closed 19 years ago
cairo Mac OS X builds have broken select widget rendering
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jaas, Assigned: jaas)
References
Details
(Whiteboard: [blocking1.9a1+])
Attachments
(2 files)
|
14.10 KB,
image/jpeg
|
Details | |
|
964 bytes,
patch
|
mark
:
review+
pavlov
:
superreview+
|
Details | Diff | Splinter Review |
Cairo Mac OS X builds have broken select widget rendering. The box on the right with the triangle is missing.
*** Bug 360215 has been marked as a duplicate of this bug. ***
Native form controls are turned off for now. We plan to do native form controls soon.
It looks like this never worked under cairo. I went pretty far back in nightly builds of cairo mac firefox and they're all broken this way.
Layout uses the scrollbar width from the device context to determine how wide to make the select button. The thebes device context uses an nsLookAndFeel metric to determine scrollbar width instead of hardcoding a value like the mac device context does (we don't use the mac device context under cairo, we use thebes). The fix is to add the metric to our look and feel code on mac.
Attachment #245257 -
Flags: superreview?(pavlov)
Attachment #245257 -
Flags: review?(mark)
Comment 7•19 years ago
|
||
Comment on attachment 245257 [details] [diff] [review]
fix v1.0
Prefer ::GetThemeMetric(kThemeMetricScrollBarWidth, &value)
Attachment #245257 -
Flags: review?(mark) → review+
Updated•19 years ago
|
Attachment #245257 -
Flags: superreview?(pavlov) → superreview+
The native metric function returns 15, we've always used 16. I'd prefer to leave it the way it has always been until we can audit to make sure things will match up. I will add a comment about it.
landed on trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•