-
ddkilzer authored
Reviewed by Hyatt. Patch by Mitz. - updated test results for http://bugzilla.opendarwin.org/show_bug.cgi?id=9531 Pages that need only a horizontal scroll bar get a vertical one as well * css1/classification/white_space-expected.checksum: * css1/classification/white_space-expected.png: * css1/classification/white_space-expected.txt: * editing/selection/select-all-004-expected.checksum: * editing/selection/select-all-004-expected.png: * editing/selection/select-all-004-expected.txt: * editing/selection/unrendered-001-expected.checksum: * editing/selection/unrendered-001-expected.png: * editing/selection/unrendered-001-expected.txt: * editing/selection/unrendered-002-expected.checksum: * editing/selection/unrendered-002-expected.png: * editing/selection/unrendered-002-expected.txt: * editing/selection/unrendered-003-expected.checksum: * editing/selection/unrendered-003-expected.png: * editing/selection/unrendered-003-expected.txt: * editing/selection/unrendered-004-expected.checksum: * editing/selection/unrendered-004-expected.png: * editing/selection/unrendered-004-expected.txt: * editing/selection/unrendered-005-expected.checksum: * editing/selection/unrendered-005-expected.png: * editing/selection/unrendered-005-expected.txt: * fast/block/float/019-expected.checksum: * fast/block/float/019-expected.png: * fast/block/float/019-expected.txt: * fast/block/margin-collapse/104-expected.checksum: * fast/block/margin-collapse/104-expected.png: * fast/block/margin-collapse/104-expected.txt: * fast/block/positioning/relative-overflow-block-expected.checksum: * fast/block/positioning/relative-overflow-block-expected.txt: * fast/block/positioning/relative-overflow-replaced-expected.checksum: * fast/block/positioning/relative-overflow-replaced-expected.txt: * fast/block/positioning/relative-overflow-replaced-float-expected.checksum: * fast/block/positioning/relative-overflow-replaced-float-expected.txt: * fast/lists/li-br-expected.checksum: * fast/lists/li-br-expected.png: * fast/lists/li-br-expected.txt: * fast/media/mq-relative-constraints-02-expected.checksum: * fast/media/mq-relative-constraints-02-expected.png: * fast/media/mq-relative-constraints-02-expected.txt: * fast/media/mq-relative-constraints-03-expected.checksum: * fast/media/mq-relative-constraints-03-expected.png: * fast/media/mq-relative-constraints-03-expected.txt: * fast/media/mq-relative-constraints-04-expected.checksum: * fast/media/mq-relative-constraints-04-expected.png: * fast/media/mq-relative-constraints-04-expected.txt: * fast/media/mq-relative-constraints-05-expected.checksum: * fast/media/mq-relative-constraints-05-expected.png: * fast/media/mq-relative-constraints-05-expected.txt: * fast/media/mq-relative-constraints-06-expected.checksum: * fast/media/mq-relative-constraints-06-expected.png: * fast/media/mq-relative-constraints-06-expected.txt: * fast/media/mq-relative-constraints-07-expected.checksum: * fast/media/mq-relative-constraints-07-expected.png: * fast/media/mq-relative-constraints-07-expected.txt: * fast/media/mq-relative-constraints-09-expected.checksum: * fast/media/mq-relative-constraints-09-expected.png: * fast/media/mq-relative-constraints-09-expected.txt: * fast/media/mq-width-absolute-01-expected.checksum: * fast/media/mq-width-absolute-01-expected.png: * fast/media/mq-width-absolute-01-expected.txt: * fast/media/mq-width-absolute-02-expected.checksum: * fast/media/mq-width-absolute-02-expected.png: * fast/media/mq-width-absolute-02-expected.txt: * fast/media/mq-width-absolute-03-expected.checksum: * fast/media/mq-width-absolute-03-expected.png: * fast/media/mq-width-absolute-03-expected.txt: * fast/media/mq-width-absolute-04-expected.checksum: * fast/media/mq-width-absolute-04-expected.png: * fast/media/mq-width-absolute-04-expected.txt: * fast/table/wide-colspan-expected.checksum: * fast/table/wide-colspan-expected.png: * fast/table/wide-colspan-expected.txt: * fast/table/wide-column-expected.checksum: * fast/table/wide-column-expected.png: * fast/table/wide-column-expected.txt: * tables/mozilla/bugs/bug131020-expected.checksum: * tables/mozilla/bugs/bug131020-expected.png: * tables/mozilla/bugs/bug131020-expected.txt: * tables/mozilla/bugs/bug23151-expected.checksum: * tables/mozilla/bugs/bug23151-expected.png: * tables/mozilla/bugs/bug23151-expected.txt: * tables/mozilla/bugs/bug29314-expected.checksum: * tables/mozilla/bugs/bug29314-expected.png: * tables/mozilla/bugs/bug29314-expected.txt: * tables/mozilla/bugs/bug43039-expected.checksum: * tables/mozilla/bugs/bug43039-expected.png: * tables/mozilla/bugs/bug43039-expected.txt: * tables/mozilla/bugs/bug43854-1-expected.checksum: * tables/mozilla/bugs/bug43854-1-expected.png: * tables/mozilla/bugs/bug43854-1-expected.txt: * tables/mozilla/bugs/bug625-expected.checksum: * tables/mozilla/bugs/bug625-expected.png: * tables/mozilla/bugs/bug625-expected.txt: * tables/mozilla/bugs/bug92143-expected.checksum: * tables/mozilla/bugs/bug92143-expected.png: * tables/mozilla/bugs/bug92143-expected.txt: * tables/mozilla/bugs/bug96334-expected.checksum: * tables/mozilla/bugs/bug96334-expected.png: * tables/mozilla/bugs/bug96334-expected.txt: * tables/mozilla/core/misc-expected.checksum: * tables/mozilla/core/misc-expected.png: * tables/mozilla/core/misc-expected.txt: * tables/mozilla/core/nested1-expected.checksum: * tables/mozilla/core/nested1-expected.png: * tables/mozilla/core/nested1-expected.txt: * tables/mozilla_expected_failures/bugs/bug220653-expected.checksum: * tables/mozilla_expected_failures/bugs/bug220653-expected.png: * tables/mozilla_expected_failures/bugs/bug220653-expected.txt: * tables/mozilla_expected_failures/bugs/bug67915-2-expected.checksum: * tables/mozilla_expected_failures/bugs/bug67915-2-expected.png: * tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt: WebCore: Reviewed by Hyatt. Patch by Mitz. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9531 Pages that need only a horizontal scroll bar get a vertical one as well The change affects many existing tests. * page/FrameView.cpp: (WebCore::FrameView::layout): Mark the body renderer as needing layout if the view's height has changed and the body stretches to the view's height. * rendering/RenderBox.cpp: (WebCore::RenderBox::calcHeight): * rendering/RenderBox.h: (WebCore::RenderBox::stretchesToViewHeight): Added. Moved the logic for when the HTML block needs to stretch to the view's height from calcHeight() here. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e9da8db0