Bug 55735

Summary: AX: kAXCellForColumnAndRowParameterizedAttribute doesn't work ARIA grids with colspans
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
patch bdakin: review+

Description chris fleizach 2011-03-03 17:54:38 PST
If a table is defined as an aria-grid and the cells have colspans, AX will not return the right element for kAXCellForColumnAndRowParameterizedAttribute. We need to check the ranges of each cell before returning one.
Comment 1 chris fleizach 2011-03-03 17:54:50 PST
rdar://9051688
Comment 2 chris fleizach 2011-03-03 18:20:02 PST
Created attachment 84675 [details]
patch
Comment 3 Beth Dakin 2011-03-04 15:00:02 PST
Comment on attachment 84675 [details]
patch

140    int intRow = static_cast<int>(row);
 141    int intColumn = static_cast<int>(column);

This can probably be a soft-cast instead of a static cast, and I think that would be better. We try to only use static_cast when necessary.
Comment 4 chris fleizach 2011-03-07 09:20:35 PST
http://trac.webkit.org/changeset/80470