Open Bug 364135 Opened 18 years ago Updated 2 years ago

XUL boxes with overflow don't reflow when box properties are changed

Categories

(Core :: XUL, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: enndeakin, Unassigned)

Details

Attachments

(1 file)

774 bytes, application/vnd.mozilla.xul+xml
Details
A box with overflow set to 'auto' or another value that is not 'visible', doesn't reflow when the orient, dir, etc is changed: <box id="e" width="50" height="50" style="overflow: auto;"> <button label="Item1"/> <checkbox label="Item2"/> <button label="Item3"/> <button label="Item4" minheight="120"/> <button label="Item5"/> </box> <button label="Broken" oncommand="this.previousSibling.orient = 'vertical'"/> Expected: The contents of the box should be redisplayed vertically when the button is pressed. Actual: Nothing happens Works OK without the style attribute in the example. Not a regression from the reflow branch though.
Attached file testcase
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: