-
hyatt@apple.com authored
2009-07-17 David Hyatt <hyatt@apple.com> Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=27379 Absolutely-positioned elements with a scrollbar wrap prematurely. Make sure to include the vertical scrollbar width for overflow:scroll elements. Added fast/css/positioned-overflow-scroll.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::calcPrefWidths): * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::calcPrefWidths): LayoutTests: 2009-07-17 David Hyatt <hyatt@apple.com> Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=27379 Absolutely-positioned elements with a scrollbar wrap prematurely. Make sure to include the vertical scrollbar width for overflow:scroll elements. * fast/css/positioned-overflow-scroll.html: Added. * platform/mac/fast/css/positioned-overflow-scroll-expected.checksum: Added. * platform/mac/fast/css/positioned-overflow-scroll-expected.png: Added. * platform/mac/fast/css/positioned-overflow-scroll-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
88290755