From: Yuni Jeong Date: Fri, 23 Aug 2013 10:41:15 +0000 (+0900) Subject: Text selection is not working and picker will be displayed when longTap on picker. X-Git-Tag: 2.2.1_release~278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28860e01ac3839b12381a9d34e2acbd017005fc7;p=framework%2Fweb%2Fwebkit-efl.git Text selection is not working and picker will be displayed when longTap on picker. [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 --- diff --git a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp index 82101ef..42798d2 100755 --- a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp +++ b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp @@ -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)