These constants control the scrolling of an object or substring into a window. Note, keep them synchronized with IA2ScrollType.
[scriptable, uuid(05cd38b1-94b3-4cdf-8371-3935a9611405)]
interface nsIAccessibleScrollType : nsISupports
Constants
Scroll the top left of the object or substring to the top left of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_TOP_LEFT = 0
Scroll the bottom right of the object or substring to the bottom right of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_BOTTOM_RIGHT = 1
Scroll the top edge of the object or substring to the top edge of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_TOP_EDGE = 2
Scroll the bottom edge of the object or substring to the bottom edge of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_BOTTOM_EDGE = 3
Scroll the left edge of the object or substring to the left edge of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_LEFT_EDGE = 4
Scroll the right edge of the object or substring to the right edge of the window (or as close as possible).
const
unsigned long
SCROLL_TYPE_RIGHT_EDGE = 5
Scroll an object the minimum amount necessary in order for the entire frame to be visible (if possible).
const
unsigned long
SCROLL_TYPE_ANYWHERE = 6
Compare to: