Bug 47101

Summary: AX: doAXRangeForLine does not work
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Severity: Normal CC: bdakin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Description Flags
Patch bdakin: review+

Description chris fleizach 2010-10-04 12:06:21 PDT
asking for NSAccessibilityRangeForLineParameterizedAttribute from a textarea always give a zero range back
Comment 1 chris fleizach 2010-10-04 12:14:39 PDT
It looks like doing this call to find the end of the line

selection.modify(SelectionController::AlterationExtend, SelectionController::DirectionRight, LineBoundary);

does not do what's expected. I suspect it thinks the end of the line is the same position as the start of the line. 

I think the better solution is to just use the existing

endOfLine() method that already exists.
Comment 2 chris fleizach 2010-10-04 12:23:16 PDT
Created attachment 69667 [details]
Comment 3 chris fleizach 2010-10-04 14:03:55 PDT