BlackBerry port uses button rendering and popups for input, text selection should not be allowed.
Created attachment 192004 [details] Patch
Internal Reviewer: Me r+. Looks good.
Comment on attachment 192004 [details] Patch LGTM.
Created attachment 192055 [details] Patch with reviewers denoted.
Comment on attachment 192055 [details] Patch with reviewers denoted. Clearing flags on attachment: 192055 Committed r145121: <http://trac.webkit.org/changeset/145121>
All reviewed patches have been landed. Closing bug.
Created attachment 192764 [details] Additional Patch.
Re-opening for additional case.
I prefer not to do nested if statements but the logic is sound whatever way you do it. r+ with style improved.
Created attachment 192769 [details] Replacement patch.
Comment on attachment 192769 [details] Replacement patch. LGTM.
Comment on attachment 192769 [details] Replacement patch. Clearing flags on attachment: 192769 Committed r145571: <http://trac.webkit.org/changeset/145571>
Created attachment 193105 [details] Fix compilation error + if (Node* focusedNode = frame->document()->focusedNode() + && (focusedNode->hasTagName(HTMLNames::selectTag) || (focusedNode->isElementNode() && DOMSupport::isPopupInputField(toElement(focusedNode))))) { + SelectionLog(Platform::LogLevelInfo, "SelectionHandler::selectionPositionChanged selection is on a popup control, skipping rendering."); + return; + } + } Uh, oh, there's one brace missing, this won't compile.
Comment on attachment 193105 [details] Fix compilation error Well spotted.
Do we need to reopen this bug in order to commit the patch?
(In reply to comment #16) > Do we need to reopen this bug in order to commit the patch? Let's try without.
(In reply to comment #17) > (In reply to comment #16) > > Do we need to reopen this bug in order to commit the patch? > > Let's try without. It didn't seem to work :)
Re-opening to land patch.
Comment on attachment 193105 [details] Fix compilation error Clearing flags on attachment: 193105 Committed r146092: <http://trac.webkit.org/changeset/146092>