AX: VoiceOver only read the first column in a safari table
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jul 2013 22:04:23 +0000 (22:04 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jul 2013 22:04:23 +0000 (22:04 +0000)
commit681c6e6b5a31f7f8da5b6bc8520beea52cd134ea
tree8574c2d9a2b269231182aec3fce3b6407c3e5d27
parent2ed9ab8d265865c3ec78517c7eff66f49787bec9
AX: VoiceOver only read the first column in a safari table
https://bugs.webkit.org/show_bug.cgi?id=118992

Reviewed by Tim Horton.

Source/WebCore:

In case the first section has fewer columns than the rest of the table, the AXTable was only reporting the number of
columns for the first section. We need to take the max number of columns out of all sections.

Test: accessibility/table-with-mismatch-column-count-in-initial-section.html

* accessibility/AccessibilityTable.cpp:
(WebCore::AccessibilityTable::addChildren):

LayoutTests:

* accessibility/table-with-mismatch-column-count-in-initial-section-expected.txt: Added.
* accessibility/table-with-mismatch-column-count-in-initial-section.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/table-with-mismatch-column-count-in-initial-section-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/table-with-mismatch-column-count-in-initial-section.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityTable.cpp