Open Bug 507968 Opened 12 years ago Updated 12 years ago

Drop event's screen coordinates are incorrect when dropped on a browser in a stack

Categories

(Core :: DOM: Drag & Drop, defect)

x86
Linux
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: benpmorgan+bugzilla, Unassigned)

Details

Attachments

(1 file)

1.28 KB, application/vnd.mozilla.xul+xml
Details
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1) Gecko/20090707

If there is a XUL stack with a browser at the bottom and a box on top, dropping on to the stack will give the wrong values for event.screenX and event.screenY; these will be offset by the browser's x and y.

Reproducible: Always




This happens on both windows and linux for xulrunner 1.9.1, but doesn't happen with xulrunner 1.9.0
Attached file Test case
You need to log in before you can comment on or make changes to this bug.