Closed Bug 66088 Opened 24 years ago Closed 24 years ago

Mangled button when contents built during onload

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 50217

People

(Reporter: moz_user, Assigned: eric)

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.4.0-test10 i686) BuildID: Mozilla 0.7 Changing window content during onload event may cause incorrect button element positioning/display. Reproducible: Always Steps to Reproduce: 1.Launch mozilla with the attached XUL 2. 3. Actual Results: The parts of the button element are displayed adjacent each other. Expected Results: The parts of the button element should be displayed on top of each other. I apologize in advance if this is a duplicate bug. Wasn't exactly sure what to search on. The attached XUL may seem a little strange but it's a stripped down version of a dynamically built dialog window. The full-blown version allows the user to specify the icon image, 1 or 2 html elements, how many buttons to display and what their labels will be. (A nice, little generic window.) The same code didn't work even in Mozilla M18 (guess I didn't notice until today).
I should point out if you uncomment the window.resizeBy() line, the window and button will be displayed properly. Yes, I realize that's a kludge but I'm good at those :-)
Nice test case. However, this works fine for me .. I don't see anything odd about what's displayed, in either modern or classic skins. Could you attach a screenshot? There are some bugs around about display problems related to box layout combined with HTML layout regions, and they seem to occur more on linux than win32 or mac.
Ah right (I was running in the browser, without the narrow width). This is the same deal as bug 50217 (which is being noticed in various similar situations). -> evaughan
Assignee: trudelle → evaughan
Marking as duplicate fo 50217, but will check when that is fixed (scheduled 0.9) *** This bug has been marked as a duplicate of 50217 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: