Bug 13814 - Scrollbar position incorrect in certain circumstances
Summary: Scrollbar position incorrect in certain circumstances
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 09:40 PDT by Tom Brown
Modified: 2013-07-27 02:29 PDT (History)
2 users (show)

See Also:


Attachments
Test case reduction (1.25 KB, text/html)
2007-05-22 09:42 PDT, Tom Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Brown 2007-05-22 09:40:22 PDT
The scrollbar position can become un-synchronized with the element it represents. This happens when an element has the "overflow:scroll" style and the size of its is increased when the scrollbar is already at the bottom of the scroll area.

The scrollbar will remain at the bottom of the scroll area, while the actual scroll position of the document remains at the same location it was before.
Comment 1 Tom Brown 2007-05-22 09:42:21 PDT
Created attachment 14657 [details]
Test case reduction

Instructions:
1. Click the 'add line' button a couple of times until a vertical scrollbar appears.
2. Scroll to the bottom.
3.Click the 'add line' button a couple more times.

Expected:
1. The scrollbar should remain synchronized with the document.

Actual:
1. The scrollbar is positioned at the bottom, but the document remains positioned at the original location.
Comment 2 Tom Brown 2007-05-22 09:44:42 PDT
This looks like it may be related to bug 7686.
Comment 3 Robert Hogan 2013-07-27 02:29:48 PDT
The reduction works fine for me on ToT WebKit.