Text selection is not working and picker will be displayed when longTap on picker.
authorYuni Jeong <yhnet.jung@samsung.com>
Fri, 23 Aug 2013 10:41:15 +0000 (19:41 +0900)
committerYuni Jeong <yhnet.jung@samsung.com>
Fri, 23 Aug 2013 10:41:15 +0000 (19:41 +0900)
[Title] Text selection is not working and picker will be displayed when longTap on picker.
[Issue#] N_SE-49694
[Problem] When inserting a text into other input box after selecting some text on picker,
          copy & paste popup is showing on wrong position.
[Cause] When longTap on picker, text selection is working.
[Solution] Text selection is not working and picker will be displayed when longTap on picker.

Change-Id: Ic4be01d7a96347b923708733ab88ee7c4f8e9101

Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp

index 82101ef..42798d2 100755 (executable)
@@ -1267,17 +1267,8 @@ void WebPage::selectClosestWord(const IntPoint& point, bool& result)
     HTMLInputElement* inputElement = node->toInputElement();
 
     if (hitTestResult.isContentEditable()) {
-#if ENABLE(TIZEN_INPUT_TAG_EXTENSION)
-        if (!inputElement || (inputElement
-            && !inputElement->isDateField() && !inputElement->isDateTimeField() && !inputElement->isDateTimeLocalField()
-            && !inputElement->isMonthField() && !inputElement->isTimeField() && !inputElement->isWeekField())) {
-            result = setCaretPosition(point);
-            return;
-        }
-#else
         result = setCaretPosition(point);
         return;
-#endif
     }
 
 #if ENABLE(TIZEN_INPUT_TAG_EXTENSION)