[Webkit-unassigned] [Bug 21462] Overflow auto in div element shows obsolete scrollbars when content size is reduced

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 14 22:11:31 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=21462





------- Comment #2 from artur.signell at abo.fi  2008-12-14 22:11 PDT -------
The problem seems to be that to RenderLayer::computeScrollDimensions uses
clientHeight/clientWidth from the parent DIV to determine the amount of
available space for the child DIV. ClientHeight/Width does not include the
scrollbar sizes and thus it is wrongly determined that the child DIV will not
fit inside the parent without scrollbars. I'm not sure if this should be fixed
in computeScrollDimensions like done in the patch or if the scrollbars should
be removed before calling computeScrollDimensions (called through
RenderLayer::updateScrollInfoAfterLayout)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list