Closed Bug 401623 Opened 17 years ago Closed 17 years ago

Firefox stealthily resize a dialog bigger with unexpected 17 px

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 411751

People

(Reporter: calvin, Unassigned)

Details

Attachments

(2 files)

1.70 KB, application/vnd.mozilla.xul+xml
Details
727 bytes, application/x-javascript
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419.3 (KHTML, like Gecko) Safari/419.3 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.8) Gecko/2007100816 Firefox/2.0.0.8 Define a XUL dialog and load it in an extension. It shows the right size (as my coding) for the first time, (although it doesn't place the buttons right, will be reported in a separate bug), but from the 2nd time, it adds additional 17px within the border of the right side. Reproducible: Always Steps to Reproduce: 1. Define a dialog, as attachment 1 [details] [diff] [review]. 2. Load it somewhere else, as attachment 2 [details] [diff] [review]. Pay attention to the right margin of the dialog. 3. Close the dialog and load it again (do *NOT* restart firefox), see the right margin again. It'll become wider than 1st time. Actual Results: First time is OK. From the 2nd time, Firefox will add extra 17px to the margin of the right border. Expected Results: Keep the same effect as coding.
Attached file the XUL dialog
function 'customizeDialog' will dynamically fill some stuff into the placeholders to create a dialog
Attached file load the dialog
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: