Reviewed by Darin, landed by ap.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 15:52:01 +0000 (15:52 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jun 2006 15:52:01 +0000 (15:52 +0000)
commita27dac400a7ae3f3729ae86e2f67d5a09b39fd95
treef3c978082cafa3939b257d8d6c604b24e5886b59
parentdae1c26aa9502a22328a7aa47bf0e482f9353e0e
    Reviewed by Darin, landed by ap.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9316
          REGRESSION: text field width shrinks on first keystroke

        Test: fast/forms/floating-textfield-relayout.html

        * page/FrameView.cpp:
        (WebCore::FrameView::layoutRoot): Added. During subtree relayout, returns
        the subtree root. Otherwise returns 0.
        (WebCore::FrameView::layoutPending): Made const.
        * page/FrameView.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::calcWidth): Added early return if this is the root
        of a subtree being laid out.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/floating-textfield-relayout-expected.checksum [new file with mode: 0644]
LayoutTests/fast/forms/floating-textfield-relayout-expected.png [new file with mode: 0644]
LayoutTests/fast/forms/floating-textfield-relayout-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/floating-textfield-relayout.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/FrameView.cpp
WebCore/page/FrameView.h
WebCore/rendering/RenderBox.cpp