Open Bug 392417 Opened 17 years ago Updated 2 years ago

window.sizeToContent() doesn't do that in this html document

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Attached file testcase
See testcase, you should expect that the window gets wrapped around 500px*500px, but that doesn't happen anymore in current trunk builds. I found this while making a testcase for bug 371508.
This regressed between 2005-10-06 and 2005-10-07 in a sense that it goes wrong when window.sizeToContent() is called in the second timeout: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-10-06+07&maxdate=2005-10-07+08&cvsroot=%2Fcvsroot In current trunk build, it's more broken.
Depends on: 465448
WORKSFORME?
As one of the cc's, I'm no longer needing to use the workaround I had for this bug, so personally I'm not running up against it any more. I don't understand the need for "cleaning" bugs, and certainly not incorrectly. It looks like it is still a bug, so I could understand closing it as WONTFIX, but I certainly can't understand WORKSFORME. You've got exactly what you ask for here, a simple test case clearly indicating the bug, and you're going to close the bug as WORKSFORME?
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Same comment as 3 years ago in comment#3.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: