Bug 148293 - AX: Tables with anonymous rows can return NULL from cellForColumnAndRow (breaks VoiceOver navigation)
Summary: AX: Tables with anonymous rows can return NULL from cellForColumnAndRow (brea...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-21 00:15 PDT by Doug Russell
Modified: 2015-08-21 21:25 PDT (History)
11 users (show)

See Also:


Attachments
Patch (7.70 KB, patch)
2015-08-21 00:17 PDT, Doug Russell
no flags Details | Formatted Diff | Diff
Patch (7.97 KB, patch)
2015-08-21 11:11 PDT, Doug Russell
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Russell 2015-08-21 00:15:20 PDT
An aria table with CSS that causes a row to be anonymous can result in incorrect indexing leading to incorrect NULL values from cellForColumnAndRow
Comment 1 Radar WebKit Bug Importer 2015-08-21 00:15:55 PDT
<rdar://problem/22375795>
Comment 2 Doug Russell 2015-08-21 00:17:59 PDT
Created attachment 259589 [details]
Patch
Comment 3 James Craig 2015-08-21 01:31:31 PDT
<rdar://problem/22354983>
Comment 4 chris fleizach 2015-08-21 09:33:17 PDT
Comment on attachment 259589 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=259589&action=review

> Source/WebCore/ChangeLog:9
> +        tableâs internal row list. However, when calculating the row range for a cell, 

some weird unicode apostrophe here

> LayoutTests/ChangeLog:9
> +        tableâs internal row list. However, when calculating the row range for a cell, 

ditto

> LayoutTests/accessibility/aria-table-content.html:27
> +    shouldBe("cell00.role", "'AXRole: AXCell'");

can we also add verification that this is the right cell

shouldBeTrue("cell00.isEqual(table.rowAtIndex(0).childAtIndex(0))");
shouldBeTrue("cell01.isEqual(table.rowAtIndex(1).childAtIndex(0))");
Comment 5 Doug Russell 2015-08-21 11:11:39 PDT
Created attachment 259633 [details]
Patch
Comment 6 WebKit Commit Bot 2015-08-21 12:56:04 PDT
Comment on attachment 259633 [details]
Patch

Clearing flags on attachment: 259633

Committed r188769: <http://trac.webkit.org/changeset/188769>
Comment 7 WebKit Commit Bot 2015-08-21 12:56:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 chris fleizach 2015-08-21 16:50:56 PDT
It looks like Windows doesn't support this method (cellForColumnAndRow)
So we should skip this test on Win
Comment 10 Doug Russell 2015-08-21 21:25:13 PDT
(In reply to comment #9)
> It looks like Windows doesn't support this method (cellForColumnAndRow)
> So we should skip this test on Win

Skip patch uploaded in https://bugs.webkit.org/show_bug.cgi?id=148354