Remove invalid condition about contents editable
authorSangYong Park <sy302.park@samsung.com>
Fri, 31 May 2013 07:35:35 +0000 (16:35 +0900)
committerSangYong Park <sy302.park@samsung.com>
Fri, 31 May 2013 07:35:35 +0000 (16:35 +0900)
[Title] Remove invalid condition about contents editable
[Issue#] N_SE-39715
[Problem] Keypad was not appear in google drive
[Cause] Ignore contents editable if node is located out of screen
[Solution] Remove invalid condition

Change-Id: I9c2a44cddfb52bcb933bac1cadbd5fd7a4eff9c3

Source/WebKit2/WebProcess/WebPage/WebPage.cpp

index 1e35a0d..19fbc0b 100755 (executable)
@@ -563,8 +563,6 @@ EditorState WebPage::editorState() const
         return result;
 
     result.editorRect = frame->view()->contentsToWindow(rootEditableElement->getPixelSnappedRect());
-    if (result.editorRect.maxX() <= 0 || result.editorRect.maxY() <= 0)
-        result.isContentEditable = false;
 
 #if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
     result.bgColor = frame->editor()->selectionStartCSSPropertyValue(CSSPropertyBackgroundColor);