Open
Bug 619887
Opened 14 years ago
Updated 2 years ago
openPopup(null, 'after_pointer') doesn't work as expected
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
UNCONFIRMED
People
(Reporter: tabutils+bugzilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729)
Build Identifier:
document.getElementById("contentAreaContextMenu").openPopup(null, 'after_pointer') opens the popup in the top-left corner of the window, but not vertically offset a few pixels from the mouse pointer. Is it a bug or intended behavior?
Reproducible: Always
Comment 1•14 years ago
|
||
after_pointer is not currently implemented with respect to the mouse pointer. It currently offsets 21 pixels vertically from the anchor.
This has been documented in several places for a long while. Should the documents be corrected or this bug be fixed?
https://developer.mozilla.org/en/XUL/menupopup#a-popup.position
https://developer.mozilla.org/en/XUL/Attribute/popup.position
https://developer.mozilla.org/en/XUL/PopupGuide/Positioning#The_position_attribute
https://developer.mozilla.org/en/XUL_Tutorial/Popup_Menus#Popup_Alignment
It seems that "at_pointer" is not implemented as well. I've updated the docs linking to this bug.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•