AX: isNativeCheckbox does not work as advertised
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Aug 2010 18:49:06 +0000 (18:49 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Aug 2010 18:49:06 +0000 (18:49 +0000)
commit24539c5b6667064bb9b216db63c7469f009b52b1
tree96d1d8d1ed72566c7b8594eb39f66dffa614f1c8
parent1541ddcb323f15b7bd00ee10b46bec442bde07a3
AX: isNativeCheckbox does not work as advertised
https://bugs.webkit.org/show_bug.cgi?id=43872

Re-adding this patch after it was erroneously rolled out.

WebCore:

Test: platform/mac/accessibility/native-vs-nonnative-checkboxes.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isInputImage):
(WebCore::AccessibilityRenderObject::isNativeCheckboxOrRadio):
* dom/InputElement.h:
* html/HTMLInputElement.h:
(WebCore::HTMLInputElement::isCheckbox):

LayoutTests:

* platform/mac/accessibility/native-vs-nonnative-checkboxes-expected.txt: Added.
* platform/mac/accessibility/native-vs-nonnative-checkboxes.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/accessibility/native-vs-nonnative-checkboxes-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/native-vs-nonnative-checkboxes.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/accessibility/AccessibilityRenderObject.cpp
WebCore/dom/InputElement.h
WebCore/html/HTMLInputElement.h
WebCore/wml/WMLInputElement.h