Back to Chromium

Snav More Aligned At Top

third_party/blink/web_tests/fast/spatial-navigation/snav-more-aligned-at-top.html

150.0.7829.2423 B
Original Source

xx

Manual test instruction: Ensure SpatNav goes to the, projection wise, "more aligned" element first, even though it comes second in DOM order.

When two rects are on the same distance from current focus F, SpatNav should prioritize the rect that can absorb most of F's projection.

When looking for the closest "insider" (here, focusables inside the document), SpatNav projects the document's edge onto each candidate.