Closed Bug 281309 Opened 20 years ago Closed 17 years ago

menupopup position not obeyed when resized while open

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: jag+mozilla)

References

Details

(Keywords: helpwanted, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

A menupopup with position="after_end" pops up in the correct position, but when
it is resized while it is up, it shifts to the default "after_start" position.

This is a concern for popups that are much wider than the menulist or vice versa
(with sizetopopup="false"), as the popup unnecessarily jumps horizontally.

Reproducible: Always

Steps to Reproduce:
In sample xul:
1. Click drop down button:  
   popup is below text field, aligned with left edge
2. Click 'more' button: 
   popup resized, but now is below text field, aligned with *RIGHT* edge

Actual Results:  
Popup shifted position from aligning with left edge to aligning with right edge.

Expected Results:  
Alignment should stay the same as directed by position attribute.
Keywords: testcase
Keywords: helpwanted
Depends on: 279703
Should now be fixed with bug 279703.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: