Fixed display of wrong context menu
authorprathmesh.m <prathmesh.m@samsung.com>
Wed, 12 Jun 2013 10:54:12 +0000 (16:24 +0530)
committerTaeyun An <ty.an@samsung.com>
Thu, 10 Oct 2013 07:50:58 +0000 (16:50 +0900)
commitd298caf03684753b1cb39ec78d629c95978d9d2e
tree2d92e3ff3ae88e9fe75decb14252a04a1acfe29c
parentb53217b32ef9d5a4153b0e4377b6def75f20d050
Fixed display of wrong context menu

[Title] Fixed display of wrong context menu on scrolling
[Issue#] WEB-3122
[Problem] After scrolling in a page the selection goes
   behind a element and the context menu changes
[Cause] When selection appears to be behind as there is
   a element which is having higher z-index. Once point for
   display of context menu is sent, the hittest function in
   context menu will not the selection range as the display
   point overlaps the element having higher zindex and the
   context menu will differ
[Solution] Will not display the context menu and handles
   if there is element of higer zindex present on top of
   selected text

Change-Id: Ica1e4d7d70068bcafe38851bf191bc7d4035cd20
Source/WebKit2/Shared/WebHitTestResult.cpp
Source/WebKit2/Shared/WebHitTestResult.h
Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp
Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.h
Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp