Changeset 144977 in webkit
- Timestamp:
- Mar 6, 2013, 2:12:27 PM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r144955 r144977 1 2013-03-06 Nima Ghanavatian <nghanavatian@rim.com> 2 3 [BlackBerry] Selection handles don't drag to expand correctly for RTL languages 4 https://bugs.webkit.org/show_bug.cgi?id=111618 5 6 Reviewed by Rob Buis. 7 8 PR 303712 9 If we are using a RTL language, we should ensure that the selection handles are angled the right way. 10 Further, when expanding the selection, the start and end handles should be appropriately set so that 11 expansion in the natural direction is possible. 12 13 Internally reviewed by Mike Fenton. 14 15 * WebKitSupport/SelectionHandler.cpp: 16 (BlackBerry::WebKit::SelectionHandler::SelectionHandler): 17 (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged): 18 * WebKitSupport/SelectionHandler.h: 19 (SelectionHandler): 20 1 21 2013-03-06 Carlos Garcia Campos <cgarcia@igalia.com> 2 22 -
trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp
r144640 r144977 1206 1206 } 1207 1207 1208 if (!frame->selection()->selection().isBaseFirst() || isRTL) {1208 if (!frame->selection()->selection().isBaseFirst()) { 1209 1209 // End handle comes before start, invert the caret reference points. 1210 1210 WebCore::IntRect tmpCaret(startCaret); … … 1221 1221 m_webPage->m_selectionOverlay->draw(visibleSelectionRegion); 1222 1222 1223 1224 1223 VisibleSelection currentSelection = frame->selection()->selection(); 1225 1224 SelectionDetails details(startCaret, endCaret, visibleSelectionRegion, inputNodeOverridesTouch(), 1226 m_lastSelection != currentSelection, requestedSelectionHandlePosition(frame->selection()->selection()) );1225 m_lastSelection != currentSelection, requestedSelectionHandlePosition(frame->selection()->selection()), isRTL); 1227 1226 1228 1227 m_webPage->m_client->notifySelectionDetailsChanged(details);
Note:
See TracChangeset
for help on using the changeset viewer.