Reviewed by John Sullivan.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 22:09:16 +0000 (22:09 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 22:09:16 +0000 (22:09 +0000)
commit7f8136cc2e2cd34bc18a9c90954b8f018dc4adae
tree38af11d0b323a4eddeb56faf67b5e69114c490cd
parent337eccc4795a49f9ab906866b9c1b111a5223b3a
    Reviewed by John Sullivan.

        <rdar://problem/4708007> REGRESSION: text field inside a webpage no longer has settable AXValueAttribute
        <rdar://problem/4707479> REGRESSION: controls inside a webpage no longer have settable AXFocusedAttribute

        * bridge/mac/WebCoreAXObject.mm:
        (-[WebCoreAXObject canSetFocusAttribute]):
        (-[WebCoreAXObject canSetValueAttribute]):
        New utility methods.  Text fields and buttons are focusable.
        Text fields can have their value set. We need not make
        popupbutton value settable because AppKit does not.

        (-[WebCoreAXObject accessibilityIsAttributeSettable:]):
        Call new utility methods.

        (-[WebCoreAXObject accessibilitySetValue:forAttribute:]):
        Set focus for text field or button.
        Set value for text field.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreAXObject.mm