LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Feb 2007 08:27:05 +0000 (08:27 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Feb 2007 08:27:05 +0000 (08:27 +0000)
commit2cbc08b92e0491c83374f7da58694888bd5b76a6
treefc7d25f8a14e5bb288e4df2d712926396bcc2fc7
parent490b66790f382dea128fbace8bbfdc011383e27b
LayoutTests:

        Reviewed by Mitz.

        Fix for http://bugs.webkit.org/show_bug.cgi?id=11534
        <rdar://problem/4946947> REGRESSION: Readonly text fields don't scroll when selecting content

        * fast/forms/input-readonly-autoscroll-expected.checksum: Added.
        * fast/forms/input-readonly-autoscroll-expected.png: Added.
        * fast/forms/input-readonly-autoscroll-expected.txt: Added.
        * fast/forms/input-readonly-autoscroll.html: Added.

WebCore:

        Reviewed by Mitz.

        Fix for http://bugs.webkit.org/show_bug.cgi?id=11534
        <rdar://problem/4946947> REGRESSION: Readonly text fields don't scroll when selecting content

        Test: fast/forms/input-readonly-autoscroll.html

        Implemented autoscroll methods for RenderTextControl, so this works on non-editable text controls.

        * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::autoscroll):
        * rendering/RenderTextControl.h: (WebCore::RenderTextControl::shouldAutoscroll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/input-readonly-autoscroll-expected.checksum [new file with mode: 0644]
LayoutTests/fast/forms/input-readonly-autoscroll-expected.png [new file with mode: 0644]
LayoutTests/fast/forms/input-readonly-autoscroll-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/input-readonly-autoscroll.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderTextControl.cpp
WebCore/rendering/RenderTextControl.h