• cfleizach@apple.com's avatar
    AX: isNativeCheckbox does not work as advertised · 47955bfa
    cfleizach@apple.com authored
    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: http://svn.webkit.org/repository/webkit/trunk@65335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    47955bfa
native-vs-nonnative-checkboxes-expected.txt 432 Bytes