Skip to content
  • harrison's avatar
    Reviewed by Tim Omernick and Tim Hatcher. · 165ca0b9
    harrison authored
            <rdar://problem/4717965> Text Field text parameterized attributes should work
            <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
    
            * bridge/mac/WebCoreAXObject.mm:
            (-[WebCoreAXObject accessibilityAttributeValue:]):
            Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.
            
            (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
            Cleaned up. Added text field and text area parameterzed attributes.
            
            (-[WebCoreAXObject doAXLineForTextMarker:]):
            Fixed to be zero-based and to deal with the first position properly.
            
            (-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
            Minor formatting.
            
            (-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
            (-[WebCoreAXObject indexForTextMarker:]):
            (-[WebCoreAXObject textMarkerRangeForRange:]):
            (-[WebCoreAXObject rangeForTextMarkerRange:]):
            New utility methods.
            
            (-[WebCoreAXObject doAXLineForIndex:]):
            (-[WebCoreAXObject doAXRangeForLine:]):
            (-[WebCoreAXObject doAXStringForRange:]):
            (-[WebCoreAXObject doAXRangeForPosition:]):
            (-[WebCoreAXObject doAXRangeForIndex:]):
            (-[WebCoreAXObject doAXBoundsForRange:]):
            (-[WebCoreAXObject doAXAttributedStringForRange:]):
            (-[WebCoreAXObject doAXRTFForRange:]):
            (-[WebCoreAXObject doAXStyleRangeForIndex:]):
            Implement text field and text area parameterized attributes.
             
            (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
            Added text field and text area parameterzed attributes.
    
            * rendering/RenderTextControl.h:
            Made indexForVisiblePosition() and visiblePositionForIndex() public.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    165ca0b9