Bug 55735 - AX: kAXCellForColumnAndRowParameterizedAttribute doesn't work ARIA grids with colspans
Summary: AX: kAXCellForColumnAndRowParameterizedAttribute doesn't work ARIA grids with...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: chris fleizach
Keywords: InRadar
Depends on:
Reported: 2011-03-03 17:54 PST by chris fleizach
Modified: 2011-03-07 09:20 PST (History)
1 user (show)

See Also:

patch (7.09 KB, patch)
2011-03-03 18:20 PST, chris fleizach
bdakin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 chris fleizach 2011-03-03 18:20:02 PST
Created attachment 84675 [details]
Comment 3 Beth Dakin 2011-03-04 15:00:02 PST
Comment on attachment 84675 [details]

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