CHR-1706: Context menu with Shift+F10 shows out of Opera when web contents scrolled. In case we are opening a context menu on an element, the menu should be shown as currently, since the element has most probably a correct transform available. Since the <body> element possibly has contents of great height, the context menu should be shown on the upper edge of the displayed part of the element.

BUG=Context menu with Shift+F10 shows out of Opera when web contents scrolled.
The menu's position should not be translated by scroll position in case of
opening a menu for the <body> element.

Review URL: https://codereview.chromium.org/110533004

git-svn-id: svn://svn.chromium.org/blink/trunk@169956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: f6d588eff7f874565fd21d2df4df74f981dfd917
  1. third_party/