After calling distanceDataForNode, it is possible to verify if current focus candidate node is applicable or not to Spatial Navigation logic: if it is not applicable , distanceDataForNode will assign a very big valur to node.distance (numeric_limits<long long int>::max()). It might happen when node is not in direction, for example, and indicates that current focus candidate is not an applicable focusable node. In such cases, we should bail out earlier than later. patch coming ...
Created attachment 52604 [details] (committed in r57211) patch
Comment on attachment 52604 [details] (committed in r57211) patch Clearing flags on attachment: 52604 Committed r57211: <http://trac.webkit.org/changeset/57211>
Revision r57211 cherry-picked into qtwebkit-2.0 with commit ae6f9f4464f61661fafb5ef702659e47d82a89cc