Open Bug 388284 Opened 17 years ago Updated 2 years ago

tabbing to a partially visible link should make it completely visible

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Blocks 2 open bugs)

Details

This is a followup to bug 66619.

Tabbing to a partially visible link should scroll the entire link into view.  Doing this requires:

 * Making focus events caused by link *clicks* not cause scrolling (i.e., fixing bug 195905 correctly)
 * Changing some or all users of NS_PRESSHELL_SCROLL_IF_NOT_VISIBLE to NS_PRESSHELL_SCROLL_ANYWHERE

Steps to reproduce:
 1. load attachment 111610 [details] (from bug 66619)
 2. Tab to the link that has "Some text after the span." before it
 3. Scroll the page down so that the previous link ("A long anchor that"...) is *partly* off the top of the viewport.
 4. Press Shift-TAB

Expected results:  Page scrolls so focused link is completely visible.

Actual results: no scrolling, since the link is already *partly* visible.
Blocks: 202977
Component: Keyboard: Navigation → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.