Open Bug 619887 Opened 10 years ago Updated 9 years ago

openPopup(null, 'after_pointer') doesn't work as expected

Categories

(Core :: XUL, defect)

defect
Not set
normal

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
after_pointer is not currently implemented with respect to the mouse pointer. It currently offsets 21 pixels vertically from the anchor.
It seems that "at_pointer" is not implemented as well. I've updated the docs linking to this bug.
You need to log in before you can comment on or make changes to this bug.