DescriptionMerge 129036 - AX: A few control types are returning the wrong answer for isReadOnly
https://bugs.webkit.org/show_bug.cgi?id=96735
Reviewed by Chris Fleizach.
Source/WebCore:
All input types should be read-only except ones that
are text fields. The previous logic was marking things like
checkboxes as not read-only.
Tests: platform/chromium/accessibility/readonly.html
platform/mac/accessibility/form-control-value-settable.html
* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::isReadOnly):
Tools:
Exposing isReadOnly in an AccessibilityObject to DumpRenderTree.
* DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp:
(AccessibilityUIElement::AccessibilityUIElement):
(AccessibilityUIElement::isReadOnlyGetterCallback):
* DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.h:
(AccessibilityUIElement):
LayoutTests:
Adds a new test to make sure that readonly is exposed correctly on
all elements.
* platform/chromium/accessibility/readonly-expected.txt: Added.
* platform/chromium/accessibility/readonly.html: Added.
* platform/mac/accessibility/form-control-value-settable-expected.txt: Added.
* platform/mac/accessibility/form-control-value-settable.html: Added.
TBR=dmazzoni@google.com
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129415
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|