Closed Bug 252850 Opened 20 years ago Closed 20 years ago

options in some listboxes only highlighted to text width, not listbox width

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: roc)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

This is a regression from bug 232540.  Some options in listboxes are only
highlighted to the text width, not the listbox width.

Steps to reproduce:
 1. load http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser
 2. Click on "Trunk" in the "version" listbox at the upper left.

Actual results:  Highlighting is only the width of "Trunk" with a little padding

Expected results: Highlighting should be the width of the listbox.
Strange. Most listboxes seem to work
WFM using 7/23-07 with XP.
*** Bug 252932 has been marked as a duplicate of this bug. ***
Attached file Testcase
This bug seems to occour when the entries in the listbox are exactly as high as
the listbox is. If there are fewer entries, the bug doesn't occour, when there
is a scrollbar, the bug doesn't occour.
Keywords: testcase
Summary: some options in listboxes only highlighted to text width, not listbox width → options in some listboxes only highlighted to text width, not listbox width
Okay, that checkin was wrong because it allows a reflow at unconstrained width
(to determine intrinsic width) which is not followed by any reflow at
constrained width ... this should never happen. In this case the blocks are
never given a width constraint to reflow to.

I think I should just backout that checkin. Fixing the minor underlying bug
there (which AFAIK has never been reported) can wait until I've rewritten
scrollframes to make scroll layout sane(r).
backing it out seems reasonable
okay, I backed that out.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: