Merge "Do not clip to visible content rect on WebPage::getSelectionRect()" into tizen_2.1
authorSangYong Park <sy302.park@samsung.com>
Tue, 16 Apr 2013 01:47:05 +0000 (10:47 +0900)
committerGerrit Code Review <gerrit2@kim11>
Tue, 16 Apr 2013 01:47:05 +0000 (10:47 +0900)
Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp

index 133662f..f9ba8e8 100755 (executable)
@@ -683,7 +683,7 @@ void WebPage::getSelectionRect(bool isOnlyEditable, IntRect& rect)
     if (selection->isCaret())
         rect = frame->view()->contentsToWindow(selection->absoluteCaretBounds());
     else if (selection->isRange())
-        rect = frame->view()->contentsToWindow(enclosingIntRect(selection->bounds()));
+        rect = frame->view()->contentsToWindow(enclosingIntRect(selection->bounds(false)));
 }
 
 void WebPage::deleteSurroundingText(int offset, int count)