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