Bug 18017

Summary: Scroll position in Inspector's Console changes when switching between panels
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, bburg, hyatt, nickolay8, robin.qiu
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Oliver Hunt
Reported 2008-03-22 14:30:57 PDT
If you fill the web inspector with a sufficient content to causing scrolling, then switch to something else in the inspector the scroll position in the console will be wrong :(
Attachments
Timothy Hatcher
Comment 1 2008-03-22 14:44:18 PDT
The reason this happens is when a overflow area changes from display: none back to display: block the scrollTop and scrollLeft is reset back to 0. Is that the intended behavior? If so we will need to add code in a few places that remembers these values and restores them later. In my opinion the engine should remember them and not reset back to 0.
Nickolay
Comment 2 2011-03-23 03:35:14 PDT
This is very similar to bug #39284.
Robin Qiu
Comment 3 2011-04-02 01:48:09 PDT
(In reply to comment #2) > This is very similar to bug #39284. Checked, they have different root cause.
Blaze Burg
Comment 4 2014-01-26 12:36:22 PST
Not a problem in new inspector.
Note You need to log in before you can comment on or make changes to this bug.