Selection mode on images is not working
authorprathmesh.m <prathmesh.m@samsung.com>
Mon, 8 Jul 2013 13:32:42 +0000 (19:02 +0530)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 25 Jul 2013 06:21:40 +0000 (06:21 +0000)
commit558b59d04871dfc4ca78a3a79a58281798a79d11
tree1efa38f563bde3f2af6d28166fcd0a266f9c4e52
parent765b17e3f0223f0b41c362e3a29abccba9887a1c
Selection mode on images is not working

[Title] Selection mode on images is not working
[Issue#] WEB-3582
[Problem] Long tap on image with hyperlink and select
   selection mode, selection mode is not wokring
[Cause] In this case there is a anchor tag and image tag
   is child of anchor, but before image there is another
   tag. Using this tag we create a selection range and
   once the range is created we check if its not image and
   extent the selection. This is not correct, we must
   extend the selection even if there is image
[Solution] Removed the check to block extending seletion
   when there is image tag

Change-Id: I6db5848ea72e14cdd7ee3789af6cf4c1995d9fb8
Source/WebKit2/WebProcess/WebPage/WebPage.cpp