Fix Bug 15251: REGRESSION: <input type=range> doesn't respond to form.reset() or...
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Sep 2007 04:03:20 +0000 (04:03 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Sep 2007 04:03:20 +0000 (04:03 +0000)
commit642be6a726433b13fe720975a5deae8ec15b4a96
treef5d2026f30ef9081239a0f5a7c8e4dd954812aab
parent969642c6f75d21a84303d81f6a5bd6afc0a7ae6c
 Fix Bug 15251: REGRESSION: <input type=range> doesn't respond to form.reset() or setting input.value

 WebCore:

         Fix Bug 15251: REGRESSION: <input type=range> doesn't respond to form.reset() or setting input.value

         http://bugs.webkit.org/show_bug.cgi?id=15251
         <rdar://5498169>

         Reviewed by Maciej.

         Test: fast/forms/range-reset.html

         * html/HTMLInputElement.cpp:
         (WebCore::HTMLInputElement::storesValueSeparateFromAttribute): <input
         type=range> should be storing its value separately from the value
         attribute, as do all of our variable-input input types.

 LayoutTests:

         Test for Bug 15251: REGRESSION: <input type=range> doesn't respond to form.reset() or setting input.value

         http://bugs.webkit.org/show_bug.cgi?id=15251
         <rdar://5498169>

         Reviewed by Maciej.

         * fast/forms/range-reset-expected.txt: Added.
         * fast/forms/range-reset.html: Added.

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