Changeset 146092 in webkit


Ignore:
Timestamp:
Mar 18, 2013 11:33:34 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Prevent text selection inside Colour and Date/Time input fields
https://bugs.webkit.org/show_bug.cgi?id=111733

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-18
Reviewed by Rob Buis.

Fix missing brace.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r146090 r146092  
     12013-03-18  Alberto Garcia  <agarcia@igalia.com>
     2
     3        [BlackBerry] Prevent text selection inside Colour and Date/Time input fields
     4        https://bugs.webkit.org/show_bug.cgi?id=111733
     5
     6        Reviewed by Rob Buis.
     7
     8        Fix missing brace.
     9
     10        * WebKitSupport/SelectionHandler.cpp:
     11        (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
     12
    1132013-03-18  Alberto Garcia  <agarcia@igalia.com>
    214
  • trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp

    r145818 r146092  
    11611161        return;
    11621162
    1163     if (Node* focusedNode = frame->document()->focusedNode()
    1164         && (focusedNode->hasTagName(HTMLNames::selectTag) || (focusedNode->isElementNode() && DOMSupport::isPopupInputField(toElement(focusedNode))))) {
     1163    if (Node* focusedNode = frame->document()->focusedNode()) {
     1164        if (focusedNode->hasTagName(HTMLNames::selectTag) || (focusedNode->isElementNode() && DOMSupport::isPopupInputField(toElement(focusedNode)))) {
    11651165            SelectionLog(Platform::LogLevelInfo, "SelectionHandler::selectionPositionChanged selection is on a popup control, skipping rendering.");
    11661166            return;
Note: See TracChangeset for help on using the changeset viewer.