[Title] Prevent to select word on which have SELECT_NONE property
[Issue#] N/A
[Problem] Selection is working incorrectly where in wrong position on which is having SELECT_NONE property
[Cause] There is no return status while proceed selectClosestWord API if node has SELECT_NONE value
[Solution] Prevent to select word on which have SELECT_NONE property
Change-Id: I4c7c4e4ebec6c885e186c170c70ea9863f55fb2b
if (!node)
return;
+ if (node->renderer() && node->renderer()->style() && (node->renderer()->style()->userSelect() == SELECT_NONE))
+ return;
+
Frame* newFocusFrame = node->document()->frame();
if (focusedFrame != newFocusFrame) {
m_page->focusController()->setFocusedFrame(newFocusFrame);