LayoutTests:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 15:09:21 +0000 (15:09 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 15:09:21 +0000 (15:09 +0000)
commitb9339344b2cdea82b1363d5de5179707e7d4c4a9
tree1399d670fafa6b676ee9f33333ee4f6680591235
parent533ef863e2fda0f3691dca6beaa406f1d772a7e3
LayoutTests:

        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: https://svn.webkit.org/repository/webkit/trunk@15011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
116 files changed:
LayoutTests/ChangeLog
LayoutTests/css1/classification/white_space-expected.checksum
LayoutTests/css1/classification/white_space-expected.png
LayoutTests/css1/classification/white_space-expected.txt
LayoutTests/editing/selection/select-all-004-expected.checksum
LayoutTests/editing/selection/select-all-004-expected.png
LayoutTests/editing/selection/select-all-004-expected.txt
LayoutTests/editing/selection/unrendered-001-expected.checksum
LayoutTests/editing/selection/unrendered-001-expected.png
LayoutTests/editing/selection/unrendered-001-expected.txt
LayoutTests/editing/selection/unrendered-002-expected.checksum
LayoutTests/editing/selection/unrendered-002-expected.png
LayoutTests/editing/selection/unrendered-002-expected.txt
LayoutTests/editing/selection/unrendered-003-expected.checksum
LayoutTests/editing/selection/unrendered-003-expected.png
LayoutTests/editing/selection/unrendered-003-expected.txt
LayoutTests/editing/selection/unrendered-004-expected.checksum
LayoutTests/editing/selection/unrendered-004-expected.png
LayoutTests/editing/selection/unrendered-004-expected.txt
LayoutTests/editing/selection/unrendered-005-expected.checksum
LayoutTests/editing/selection/unrendered-005-expected.png
LayoutTests/editing/selection/unrendered-005-expected.txt
LayoutTests/fast/block/float/019-expected.checksum
LayoutTests/fast/block/float/019-expected.png
LayoutTests/fast/block/float/019-expected.txt
LayoutTests/fast/block/margin-collapse/104-expected.checksum
LayoutTests/fast/block/margin-collapse/104-expected.png
LayoutTests/fast/block/margin-collapse/104-expected.txt
LayoutTests/fast/block/positioning/relative-overflow-block-expected.checksum
LayoutTests/fast/block/positioning/relative-overflow-block-expected.txt
LayoutTests/fast/block/positioning/relative-overflow-replaced-expected.checksum
LayoutTests/fast/block/positioning/relative-overflow-replaced-expected.txt
LayoutTests/fast/block/positioning/relative-overflow-replaced-float-expected.checksum
LayoutTests/fast/block/positioning/relative-overflow-replaced-float-expected.txt
LayoutTests/fast/lists/li-br-expected.checksum
LayoutTests/fast/lists/li-br-expected.png
LayoutTests/fast/lists/li-br-expected.txt
LayoutTests/fast/media/mq-relative-constraints-02-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-02-expected.png
LayoutTests/fast/media/mq-relative-constraints-02-expected.txt
LayoutTests/fast/media/mq-relative-constraints-03-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-03-expected.png
LayoutTests/fast/media/mq-relative-constraints-03-expected.txt
LayoutTests/fast/media/mq-relative-constraints-04-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-04-expected.png
LayoutTests/fast/media/mq-relative-constraints-04-expected.txt
LayoutTests/fast/media/mq-relative-constraints-05-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-05-expected.png
LayoutTests/fast/media/mq-relative-constraints-05-expected.txt
LayoutTests/fast/media/mq-relative-constraints-06-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-06-expected.png
LayoutTests/fast/media/mq-relative-constraints-06-expected.txt
LayoutTests/fast/media/mq-relative-constraints-07-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-07-expected.png
LayoutTests/fast/media/mq-relative-constraints-07-expected.txt
LayoutTests/fast/media/mq-relative-constraints-09-expected.checksum
LayoutTests/fast/media/mq-relative-constraints-09-expected.png
LayoutTests/fast/media/mq-relative-constraints-09-expected.txt
LayoutTests/fast/media/mq-width-absolute-01-expected.checksum
LayoutTests/fast/media/mq-width-absolute-01-expected.png
LayoutTests/fast/media/mq-width-absolute-01-expected.txt
LayoutTests/fast/media/mq-width-absolute-02-expected.checksum
LayoutTests/fast/media/mq-width-absolute-02-expected.png
LayoutTests/fast/media/mq-width-absolute-02-expected.txt
LayoutTests/fast/media/mq-width-absolute-03-expected.checksum
LayoutTests/fast/media/mq-width-absolute-03-expected.png
LayoutTests/fast/media/mq-width-absolute-03-expected.txt
LayoutTests/fast/media/mq-width-absolute-04-expected.checksum
LayoutTests/fast/media/mq-width-absolute-04-expected.png
LayoutTests/fast/media/mq-width-absolute-04-expected.txt
LayoutTests/fast/table/wide-colspan-expected.checksum
LayoutTests/fast/table/wide-colspan-expected.png
LayoutTests/fast/table/wide-colspan-expected.txt
LayoutTests/fast/table/wide-column-expected.checksum
LayoutTests/fast/table/wide-column-expected.png
LayoutTests/fast/table/wide-column-expected.txt
LayoutTests/tables/mozilla/bugs/bug131020-expected.checksum
LayoutTests/tables/mozilla/bugs/bug131020-expected.png
LayoutTests/tables/mozilla/bugs/bug131020-expected.txt
LayoutTests/tables/mozilla/bugs/bug23151-expected.checksum
LayoutTests/tables/mozilla/bugs/bug23151-expected.png
LayoutTests/tables/mozilla/bugs/bug23151-expected.txt
LayoutTests/tables/mozilla/bugs/bug29314-expected.checksum
LayoutTests/tables/mozilla/bugs/bug29314-expected.png
LayoutTests/tables/mozilla/bugs/bug29314-expected.txt
LayoutTests/tables/mozilla/bugs/bug43039-expected.checksum
LayoutTests/tables/mozilla/bugs/bug43039-expected.png
LayoutTests/tables/mozilla/bugs/bug43039-expected.txt
LayoutTests/tables/mozilla/bugs/bug43854-1-expected.checksum
LayoutTests/tables/mozilla/bugs/bug43854-1-expected.png
LayoutTests/tables/mozilla/bugs/bug43854-1-expected.txt
LayoutTests/tables/mozilla/bugs/bug625-expected.checksum
LayoutTests/tables/mozilla/bugs/bug625-expected.png
LayoutTests/tables/mozilla/bugs/bug625-expected.txt
LayoutTests/tables/mozilla/bugs/bug92143-expected.checksum
LayoutTests/tables/mozilla/bugs/bug92143-expected.png
LayoutTests/tables/mozilla/bugs/bug92143-expected.txt
LayoutTests/tables/mozilla/bugs/bug96334-expected.checksum
LayoutTests/tables/mozilla/bugs/bug96334-expected.png
LayoutTests/tables/mozilla/bugs/bug96334-expected.txt
LayoutTests/tables/mozilla/core/misc-expected.checksum
LayoutTests/tables/mozilla/core/misc-expected.png
LayoutTests/tables/mozilla/core/misc-expected.txt
LayoutTests/tables/mozilla/core/nested1-expected.checksum
LayoutTests/tables/mozilla/core/nested1-expected.png
LayoutTests/tables/mozilla/core/nested1-expected.txt
LayoutTests/tables/mozilla_expected_failures/bugs/bug220653-expected.checksum
LayoutTests/tables/mozilla_expected_failures/bugs/bug220653-expected.png
LayoutTests/tables/mozilla_expected_failures/bugs/bug220653-expected.txt
LayoutTests/tables/mozilla_expected_failures/bugs/bug67915-2-expected.checksum
LayoutTests/tables/mozilla_expected_failures/bugs/bug67915-2-expected.png
LayoutTests/tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt
WebCore/ChangeLog
WebCore/page/FrameView.cpp
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderBox.h