12013-08-04 Abhijeet Kandalkar <abhijeet.k@samsung.com>
2
3 Spatial Navigation should prefer focusable elements with absolute positioning over other elements if both elements visible area completely intersects each other.
4 https://bugs.webkit.org/show_bug.cgi?id=119468
5
6 Reviewed by NOBODY (OOPS!).
7
8 If two or more focusable nodes are completely intersecting each other so that only one of them is visible to user then preference should be given the node on top.
9 In case of partial intersection among the nodes, user should able to select every node visible to him.
10
11 Modified the existing testcase.
12
13 * page/FocusController.cpp:
14 (WebCore::updateFocusCandidateIfNeeded):
15 * page/SpatialNavigation.cpp:
16 (WebCore::isRectInDirection):
17