Closed Bug 364510 Opened 18 years ago Closed 17 years ago

[FIX][reflow branch] Right hand side of empty select is slightly cut off

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha6

People

(Reporter: martijn.martijn, Assigned: bzbarsky)

References

Details

(Keywords: regression, testcase)

Attachments

(3 files)

See upcoming testcase, this regressed between 2006-12-07 and 2006-12-08, so probably a regression from the reflow branch landing.

As you know, I have 'fat' scrollbars.

I'll post screenshots of what I see with the testcase, before and after the reflow branch.

Also the right part of the select drop down arrow isn't repainted when a popup menu has been over it. It seems to only paint the 16px wide part that's the default size of the scrollbar, normally (and mine are 32px).
Attached file testcase
Only the first select (the empty select) suffers from the "slightly cut off" part of the bug.
But both selects suffer from the painting bug when a popup menu has been over the right hand side of the selects.
Attached file Screenshots
So the sizing issue here is that options have padding.  So when we have an option we end up with a total width of padding plus width of the scrollbar.

When we do _not_ have an option, we end up with a total width equal to the scrollbar... but we're trying to fit in the scrollbar width _and_ a nonbreaking space in there.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #252007 - Flags: superreview?(dbaron)
Attachment #252007 - Flags: review?(dbaron)
OS: Windows XP → All
Priority: -- → P3
Hardware: PC → All
Summary: [reflow branch] Right hand side of empty select is slightly cut off → [FIX][reflow branch] Right hand side of empty select is slightly cut off
Target Milestone: --- → mozilla1.9alpha
+  // of our display fram plus a scrollbar.  This can happen, eg, if the
Small spelling error: fram should be frame.
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Target Milestone: mozilla1.9alpha1 → mozilla1.9alpha6
Comment on attachment 252007 [details] [diff] [review]
This should fix it

s/fram /frame /

r+sr=dbaron
Attachment #252007 - Flags: superreview?(dbaron)
Attachment #252007 - Flags: superreview+
Attachment #252007 - Flags: review?(dbaron)
Attachment #252007 - Flags: review+
Fixed.  not sure how to test it...
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: