Bug 16117 - element.scrollIntoView( false ) scrolls the entire windows hierarchy
Summary: element.scrollIntoView( false ) scrolls the entire windows hierarchy
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.fredck.com/bugs/safari/146...
Keywords: HasReduction
Depends on:
Blocks: 9915
  Show dependency treegraph
Reported: 2007-11-24 09:51 PST by webkit
Modified: 2008-06-18 05:56 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description webkit 2007-11-24 09:51:36 PST
The scrollIntoView(false) function currently scrolls all windows in the windows hierarchy, aligning the element to the bottom of all of them.

Only the window containing the element should get scrolled. All its parent windows should remain at the same scroll point.

The provided URL shows the problem clearly.
Comment 1 webkit 2007-11-24 09:52:25 PST
Additionally to the provided URL, the following URL can be used to check the effect of the problem in FCKeditor:

Comment 2 Timothy Hatcher 2007-11-24 10:12:41 PST
This is an IE extension, so we need to check what WinIE does. I remember Adele worked on this and made sure it matched WinIE as close as possible.
Comment 3 webkit 2008-06-18 02:24:10 PDT
It seems that Opera 9.5 and Firefox 3 have changed their behavior to match WebKit for this feature, which btw matches the IE behavior.

So, all browsers have currently the same behavior, which indicates that this ticket is not valid any more.