LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Aug 2006 15:34:13 +0000 (15:34 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Aug 2006 15:34:13 +0000 (15:34 +0000)
commit125512586894091bdacfa60282905b90385628cf
treecbfe006f8aa9babed20330950a7fac1093977d5d
parent205be3b4e80ecdecb54d77c032c7da6c7b8187c6
LayoutTests:

        Reviewed by Adele and Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10177
          REGRESSION: Successfully dragging text into a disabled field

        * fast/forms/textfield-drag-into-disabled-expected.checksum: Added.
        * fast/forms/textfield-drag-into-disabled-expected.png: Added.
        * fast/forms/textfield-drag-into-disabled-expected.txt: Added.
        * fast/forms/textfield-drag-into-disabled.html: Added.

        * fast/forms/input-disabled-color-expected.txt: Updated.

WebCore:

        Reviewed by Adele and Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10177
          REGRESSION: Successfully dragging text into a disabled field

        Test: fast/forms/textfield-drag-into-disabled.html

        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::createDivStyle): Changed to set -webkit-user-modify
        to read-only on the inner div if the control is disabled.
        (WebCore::RenderTextControl::updateFromElement): Ditto.

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