Closed Bug 660561 Opened 13 years ago Closed 11 years ago

Implement scrollIntoView for XUL widgets

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: darktrojan, Unassigned)

References

Details

This should make automated testing of things such as the addon manager easier. A quick look suggests the method in nsGenericHTMLElement would be simple to replicate in nsXULElement.
Bug 364612 has an old patch which implements this. Note that scrollIntoView was implemented in more useful way back then where the argument could select between always scrolling and ensureVisible behaviour rather than the less useful top/bottom behaviour as it is now.
Depends on: 364612
How about pushing up to nsGenericElement instead of replicating?
(In reply to Boris Zbarsky (:bz) from comment #2)
> How about pushing up to nsGenericElement instead of replicating?

This is what bug 804950 appears to have done.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.