« XUL Reference home
ensureSelectedElementIsVisible()
Return type: no return value
If the currently selected element in the list box is not currently visible to the user, the list box view is scrolled so that it is. If the item is already visible, no scrolling occurs.