зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1211481 - Expose screenX and screenY to context menu events. r=fabrice
This commit is contained in:
Родитель
efc38b2eca
Коммит
c44fd52108
|
@ -916,6 +916,8 @@ BrowserElementChild.prototype = {
|
|||
// Pass along the position where the context menu should be located
|
||||
menuData.clientX = e.clientX;
|
||||
menuData.clientY = e.clientY;
|
||||
menuData.screenX = e.screenX;
|
||||
menuData.screenY = e.screenY;
|
||||
|
||||
// The value returned by the contextmenu sync call is true if the embedder
|
||||
// called preventDefault() on its contextmenu event.
|
||||
|
|
Загрузка…
Ссылка в новой задаче