Bug 67929 - When Content of a div with overflow:auto is changed via javascript the scrollbar does not gain appropriate height
Summary: When Content of a div with overflow:auto is changed via javascript the scroll...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 05:17 PDT by Andreas Müller
Modified: 2011-09-14 18:45 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Müller 2011-09-12 05:17:21 PDT
This problem occurs when in the given content a javascript is executed to fly out a javascript select menue.

Lets say the div has a height of 200px

the content with closed flyout has 300px, so a scrollbar is visible.

now when the flyout gets activated the div still only has 300px worth of height even if the flyout contains a height of 500px. (This results in the overhead of flyout acting as if it was overflow:hidden past the 300px content.

This problem did not occur with the gecko render engine, nor with the trident render engine so i assume it's a matter of webkit having a little bug there.
Comment 1 Julien Chaffraix 2011-09-14 18:45:15 PDT
Care to attach a small misbehaving page that shows this problem since it seems that you did some testing against other browsers?