Changeset 167558 in webkit
- Timestamp:
- Apr 19, 2014, 6:25:28 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/table-incorrect-colspan-cell-expected.txt (added)
-
LayoutTests/accessibility/table-incorrect-colspan-cell.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/accessibility/AccessibilityTableCell.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r167555 r167558 1 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Malformed tables exposing incorrect col and colSpans 4 https://bugs.webkit.org/show_bug.cgi?id=131796 5 6 Reviewed by Darin Adler. 7 8 * accessibility/table-incorrect-colspan-cell-expected.txt: Added. 9 * accessibility/table-incorrect-colspan-cell.html: Added. 10 1 11 2014-04-19 Zalan Bujtas <zalan@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r167557 r167558 1 2014-04-19 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Malformed tables exposing incorrect col and colSpans 4 https://bugs.webkit.org/show_bug.cgi?id=131796 5 6 Reviewed by Darin Adler. 7 8 Test: accessibility/table-incorrect-colspan-cell.html 9 10 When a developer has specified malformed colspans, accessibility is reporting those values instead of the effective column information. 11 12 * accessibility/AccessibilityTableCell.cpp: 13 (WebCore::AccessibilityTableCell::columnIndexRange): 14 1 15 2014-04-19 Benjamin Poulain <bpoulain@apple.com> 2 16 -
trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp
r167361 r167558 249 249 return; 250 250 251 RenderTableCell* renderCell =toRenderTableCell(m_renderer);252 columnRange.first = renderCell->col();253 columnRange.second = renderCell->colSpan();251 const RenderTableCell& cell = *toRenderTableCell(m_renderer); 252 columnRange.first = cell.table()->colToEffCol(cell.col()); 253 columnRange.second = cell.table()->colToEffCol(cell.col() + cell.colSpan()) - columnRange.first; 254 254 } 255 255
Note:
See TracChangeset
for help on using the changeset viewer.