| Index: Source/WebCore/accessibility/AccessibilityNodeObject.cpp
|
| ===================================================================
|
| --- Source/WebCore/accessibility/AccessibilityNodeObject.cpp (revision 129410)
|
| +++ Source/WebCore/accessibility/AccessibilityNodeObject.cpp (working copy)
|
| @@ -634,8 +634,11 @@
|
| if (node->hasTagName(textareaTag))
|
| return static_cast<HTMLTextAreaElement*>(node)->readOnly();
|
|
|
| - if (node->hasTagName(inputTag))
|
| - return static_cast<HTMLInputElement*>(node)->readOnly();
|
| + if (node->hasTagName(inputTag)) {
|
| + HTMLInputElement* input = static_cast<HTMLInputElement*>(node);
|
| + if (input->isTextField())
|
| + return input->readOnly();
|
| + }
|
|
|
| return !node->rendererIsEditable();
|
| }
|
|
|