Changeset 57211 in webkit
- Timestamp:
- Apr 7, 2010 9:32:10 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r57210 r57211 1 2010-04-05 Antonio Gomes <tonikitoo@webkit.org> 2 3 Reviewed by Kenneth Christiansen. 4 5 Spatial Navigation: bail out as soon as algorithm finds a focus candidate is not applicable 6 https://bugs.webkit.org/show_bug.cgi?id=37135 7 8 It happens, for example, when distanceDataForNode assigns numeric_limits<long long> to 9 current focus candidate's. It means that current candidate is not in direction, or not 10 a valid target node. 11 12 * page/FocusController.cpp: 13 (WebCore::FocusController::findFocusableNodeInDirection): 14 1 15 2010-04-07 Andrey Kosyakov <caseq@chromium.org> 2 16 -
trunk/WebCore/page/FocusController.cpp
r57061 r57211 407 407 distanceDataForNode(direction, focusedNode, currentFocusCandidate); 408 408 409 // Bail out if distance is maximum. 410 if (currentFocusCandidate.distance == maxDistance()) 411 continue; 412 409 413 // If candidateParent is not null, it means that we are in a recursive call 410 414 // from deepFineFocusableNodeInDirection (i.e. processing an element in an iframe),
Note: See TracChangeset
for help on using the changeset viewer.