REGRESSION: Disabled multiline select element now responds to (certain) clicks
https://bugs.webkit.org/show_bug.cgi?id=115710

Patch by Yael Aharon <yael.aharon@intel.com> on 2013-05-09
Reviewed by Kent Tamura.

Source/WebCore:

After http://trac.webkit.org/changeset/140286, select elements can scroll whether they
are disabled or not. While they scroll, they also change the selected item.
This patch allows the select element to scroll, but does not change the selection
if the select element is disabled.

Test: fast/forms/select/listbox-disabled-scroll-no-onchange.html
Test: fast/forms/select/listbox-disabled-no-autoscroll.html

* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::autoscroll):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::stopAutoscroll):

LayoutTests:

Test that a disabled element does not change selection while scrolling.

* fast/forms/select/listbox-disabled-scroll-no-onchange-expected.txt: Added.
* fast/forms/select/listbox-disabled-scroll-no-onchange.html: Added.
* fast/forms/select/listbox-disabled-no-autoscroll.html: Added.
* fast/forms/select/listbox-disabled-no-autoscroll-expected.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149856 268f45cc-cd09-0410-ab3c-d52691b4dbfc