From: Taeyun An Date: Mon, 7 Oct 2013 09:31:12 +0000 (+0900) Subject: Do not select the checkbox via text selecting operation X-Git-Tag: 2.2.1_release~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc45ba8deaf899a576b6896e9a237e09368d85c0;p=framework%2Fweb%2Fwebkit-efl.git Do not select the checkbox via text selecting operation [Title] Do not select the checkbox via text selecting operation [Issue#] N_SE-54311 [Problem] Textselection operation is excuted on checkbox [Cause] There is no prevention for checkbox [Solution] Do not select the checkbox via text selecting operation Change-Id: I37aaf86fe34e45ce79e57737347a71953fcb143a --- diff --git a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp index e9052f8..db92988 100644 --- a/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp +++ b/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp @@ -1315,7 +1315,7 @@ void WebPage::selectClosestWord(const IntPoint& point, bool& result) if (node->hasTagName(HTMLNames::buttonTag)) return; - if (inputElement && inputElement->isTextButton()) + if (inputElement && (inputElement->isTextButton() || inputElement->isCheckbox())) return; break;