Closed
Bug 66088
Opened 24 years ago
Closed 24 years ago
Mangled button when contents built during onload
Categories
(Core :: XUL, defect)
Tracking
()
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).
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
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 :-)
Comment 3•24 years ago
|
||
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.
Reporter | ||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
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
Comment 6•24 years ago
|
||
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.
Description
•