[Title] Do not clip to visible content rect on WebPage::getSelectionRect()
[Issue#] N_SE-34525
[Problem] Input field zoom is not working
[Cause] By any reason, if visible content rect is updated before calling
ewk_view_focused_node_adjust(), getSelectionRect() returns 0
[Solution] Do not clip to visible content rect for FrameSelection
Change-Id: I6b77f52b1b09d2a911d01d6fddaa39fd4f546080
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)