LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 May 2006 04:33:29 +0000 (04:33 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 May 2006 04:33:29 +0000 (04:33 +0000)
commitf3d8b6afdf5f77648bc1ce39218848b234e28fd1
treec10776df3ca49ce372e03ef53f6dd918765d71d7
parent4195fe085edfb99e7f49e583f1acb12172472bb9
LayoutTests:

        Reviewed by Darin.

        Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5882:
        disabled type="file" element doesn't appear disabled

        * fast/forms/file-input-disabled.html: Added.
        * fast/forms/file-input-disabled-expected.txt: Added.
        * fast/forms/file-input-disabled-expected.png: Added.
        * fast/forms/file-input-disabled-expected.checksum: Added.

WebCore:

        Reviewed by Darin.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5882:
        disabled type="file" element doesn't appear disabled

        Be sure to call setDisabled on the file button when in
        RenderFileButton::updateFromElement.

        * kwq/KWQFileButton.h:
        * kwq/KWQFileButton.mm:
        (-[WebFileChooserButton setEnabled:]):
        (KWQFileButton::setDisabled):
        * rendering/render_form.cpp:
        (WebCore::RenderFileButton::updateFromElement):

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