Open Bug 401027 Opened 17 years ago Updated 1 year ago

XUL menupopups in HTML document doesn't show up correctly with testcase from bug 400976

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file, 1 obsolete file)

See bug 400976, comment 2: " This was repaired on trunk but it regressed again. Regression range for this is http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1186421100&maxdate=1186423079 so it is probably caused by Bug 355789. " and this is what can be seen on trunk for that: https://bugzilla.mozilla.org/attachment.cgi?id=286077 You should see a normal popup with the word "POPUP!" in it. I'm filing this as a bug for trunk, bug 400976 is meant as the bug for the regression on branch.
Attached file testcase
This testcase is almost the same as the one from bug 400976, except this uses elt.showPopup(); document.body.offsetHeight; elt.showPopup(); in a timeout. This seems to cause the issue as with the image that Ria attached, but I'm also sometimes seeing a scrollbar in the document appearing with a very large area to scroll.
When I click the testcase link here using my default profile, there's a big chance that the popup shows up correctly. To reproduce the problem, paste the testcase link in the locationbar of a new profile and hit Enter.
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: normal → S3
Attachment #9381416 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: