Fix for "wrong context menu is displayed"
authorDhirendra Kumar <dhirendra.kr@samsung.com>
Fri, 19 Apr 2013 07:26:33 +0000 (16:26 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 26 Apr 2013 02:06:23 +0000 (11:06 +0900)
commitd17988acdf561874f8b4d658006bc0024c98fe42
tree4d7825abbd4e4871c67d69b310e57d8214c4a132
parentdba2ac8b932a36c9a286bd9e0c420de8f21e4079
 Fix for "wrong context menu is displayed"

 [Title] Fix for displaying correct context menu in case of a link
         tag with image and text tags as children.
 [Issue#] WEB-2938
 [Problem] When user taps on "Selection mode" on a context-menu with images
           below, again the same items are added to the menu rather than
           items specific to images.
 [Cause] When user taps on "Selection mode", various context-menu
           items are added to it. Here check for range selection was missing.
 [Solution] Added condition for frame->selection()->isRange() along with others
            while appending context-menu items.
 [Developer] Dhirendra Kumar(dhirendra.kr@samsung.com)

Change-Id: I1bfc30693c937175fc52cf15ca539a6faddd0682
Source/WebCore/page/ContextMenuController.cpp