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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
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
This is very similar to bug #39284.
Robin Qiu
(In reply to comment #2)
> This is very similar to bug #39284.
Checked, they have different root cause.
Blaze Burg
Not a problem in new inspector.