LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Nov 2006 04:29:00 +0000 (04:29 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Nov 2006 04:29:00 +0000 (04:29 +0000)
commitdc007a6e8dc441da0ac13455b446f102b7f218ba
tree15887b8232abc2ceb0c27811e5695c087091fdfd
parent4507c29ffab63aa3cb0b187a445736a45a84d5be
LayoutTests:

        Reviewed by Anders.

        Test for http://bugs.webkit.org/show_bug.cgi?id=9581
        REGRESSION: The new NativeTextArea scrolls to the top when the control is unfocused.

        * fast/forms/textarea-no-scroll-on-blur-expected.txt: Added.
        * fast/forms/textarea-no-scroll-on-blur.html: Added.

WebCore:

        Reviewed by Anders.

        - Fix for http://bugs.webkit.org/show_bug.cgi?id=9581
        REGRESSION: The new NativeTextArea scrolls to the top when the control is unfocused.

        Test: fast/forms/textarea-no-scroll-on-blur.html

        * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::forwardEvent):
          On blur, only scroll back to the start for text fields.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/textarea-no-scroll-on-blur-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/textarea-no-scroll-on-blur.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderTextControl.cpp