2006-12-18 Kirby White <KWhiteRight@gmail.com>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Dec 2006 23:22:20 +0000 (23:22 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Dec 2006 23:22:20 +0000 (23:22 +0000)
commit5920554dec45d172833cf6c4b414205de01f82b4
treeeaa6394b19a618d16a7b665368be57de87726a26
parentc212373d9c1dacc5c0a99a00a60b4d0dfdb609fd
2006-12-18  Kirby White  <KWhiteRight@gmail.com>

        Reviewed by Darin.

        Changed hidden input controls to reset to their initial values
        when the form is reset.  Also added layout tests for resetting
        other input controls.

        Fixes http://bugs.webkit.org/show_bug.cgi?id=11866

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::setValue):
        (WebCore::HTMLInputElement::storesValueSeparateFromAttribute):

2006-12-18  Kirby White  <KWhiteRight@gmail.com>

        Reviewed by Darin.

        Layout tests for http://bugs.webkit.org/show_bug.cgi?id=11866

        * fast/dom/HTMLInputElement/input-checked-reset-expected.txt: Added.
        * fast/dom/HTMLInputElement/input-checked-reset.html: Added.
        * fast/dom/HTMLInputElement/input-text-reset-expected.txt: Added.
        * fast/dom/HTMLInputElement/input-text-reset.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLInputElement/input-checked-reset-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLInputElement/input-checked-reset.html [new file with mode: 0644]
LayoutTests/fast/dom/HTMLInputElement/input-text-reset-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLInputElement/input-text-reset.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLInputElement.cpp