Changeset 167559 in webkit
- Timestamp:
- Apr 19, 2014, 6:38:48 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/table-with-missing-aria-role-rows-expected.txt (added)
-
LayoutTests/accessibility/table-with-missing-aria-role-rows.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/accessibility/AccessibilityARIAGrid.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167558 r167559 1 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 3 AX: grid rows are not recognized do to lack of explicit role="row", role="gridcell" 4 https://bugs.webkit.org/show_bug.cgi?id=131819 5 6 Reviewed by Darin Adler. 7 8 * accessibility/table-with-missing-aria-role-rows-expected.txt: Added. 9 * accessibility/table-with-missing-aria-role-rows.html: Added. 10 1 11 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r167558 r167559 1 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 3 AX: grid rows are not recognized do to lack of explicit role="row", role="gridcell" 4 https://bugs.webkit.org/show_bug.cgi?id=131819 5 6 Reviewed by Darin Adler. 7 8 Test: accessibility/table-with-missing-aria-role-rows.html 9 10 If a table is using role="grid", and it has <tr> elements that do not have 11 role="row", we should still treat them as row elements. 12 13 * accessibility/AccessibilityARIAGrid.cpp: 14 (WebCore::AccessibilityARIAGrid::addTableCellChild): 15 1 16 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 17 -
trunk/Source/WebCore/accessibility/AccessibilityARIAGrid.cpp
r165676 r167559 55 55 bool AccessibilityARIAGrid::addTableCellChild(AccessibilityObject* child, HashSet<AccessibilityObject*>& appendedRows, unsigned& columnCount) 56 56 { 57 if (!child || !child->isTableRow() || child->ariaRoleAttribute() != RowRole)57 if (!child || (!child->isTableRow() && child->ariaRoleAttribute() != RowRole)) 58 58 return false; 59 59
Note:
See TracChangeset
for help on using the changeset viewer.