Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: LayoutTests/accessibility/table-headers-expected.txt

Issue 862543003: Table headers are not retrieved properly by Accessibility API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor fixes, correct comment and very small refactoring Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/accessibility/table-headers.html ('k') | Source/modules/accessibility/AXTable.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/accessibility/table-headers-expected.txt
diff --git a/LayoutTests/accessibility/table-headers-expected.txt b/LayoutTests/accessibility/table-headers-expected.txt
index 962f14391a6afdd660ef726601ce9c7430ffb024..0cab2590d1ba7fcb3afa359212b1329c83251b57 100644
--- a/LayoutTests/accessibility/table-headers-expected.txt
+++ b/LayoutTests/accessibility/table-headers-expected.txt
@@ -2,18 +2,77 @@ No Month Expenses
1 Jan 100
2 Feb 150
3 Mar 200
+scope test
+col head row head col head
+col head data row head
+row head data col head
+row header and column header (1)
+data row head column head
+column head column head data
+row head data row head
+row header and column header (2)
+row head data data
+column head column head column head
+data data data
+scope and rowspan
+row head col head
+row head
+scope and colspan
+col head col head col head
+data data data
+col head col head
+data data row head
Check whether column and row headers are reported correctly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS table.rowHeaderAtIndex(0).isEqual(table.cellForColumnAndRow(0, 0)) is true
-PASS table.rowHeaderAtIndex(1).isEqual(table.cellForColumnAndRow(0, 1)) is true
-PASS table.rowHeaderAtIndex(2).isEqual(table.cellForColumnAndRow(0, 2)) is true
-PASS table.rowHeaderAtIndex(3).isEqual(table.cellForColumnAndRow(0, 3)) is true
+PASS table.rowHeaderAtIndex(0).isEqual(table.cellForColumnAndRow(0, 1)) is true
+PASS table.rowHeaderAtIndex(1).isEqual(table.cellForColumnAndRow(0, 2)) is true
+PASS table.rowHeaderAtIndex(2).isEqual(table.cellForColumnAndRow(0, 3)) is true
+PASS table.rowHeadersCount is 3
PASS table.columnHeaderAtIndex(0).isEqual(table.cellForColumnAndRow(0, 0)) is true
PASS table.columnHeaderAtIndex(1).isEqual(table.cellForColumnAndRow(1, 0)) is true
PASS table.columnHeaderAtIndex(2).isEqual(table.cellForColumnAndRow(2, 0)) is true
+PASS table.columnHeadersCount is 3
+PASS table2.rowHeaderAtIndex(0).isEqual(table2.cellForColumnAndRow(1, 0)) is true
+PASS table2.rowHeaderAtIndex(1).isEqual(table2.cellForColumnAndRow(2, 1)) is true
+PASS table2.rowHeaderAtIndex(2).isEqual(table2.cellForColumnAndRow(0, 2)) is true
+PASS table2.rowHeadersCount is 3
+PASS table2.columnHeaderAtIndex(0).isEqual(table2.cellForColumnAndRow(0, 0)) is true
+PASS table2.columnHeaderAtIndex(1).isEqual(table2.cellForColumnAndRow(0, 1)) is true
+PASS table2.columnHeaderAtIndex(2).isEqual(table2.cellForColumnAndRow(2, 0)) is true
+PASS table2.columnHeaderAtIndex(3).isEqual(table2.cellForColumnAndRow(2, 2)) is true
+PASS table2.columnHeadersCount is 4
+PASS table3.rowHeaderAtIndex(0).isEqual(table3.cellForColumnAndRow(1, 0)) is true
+PASS table3.rowHeaderAtIndex(1).isEqual(table3.cellForColumnAndRow(0, 2)) is true
+PASS table3.rowHeaderAtIndex(2).isEqual(table3.cellForColumnAndRow(2, 2)) is true
+PASS table3.rowHeadersCount is 3
+PASS table3.columnHeaderAtIndex(0).isEqual(table3.cellForColumnAndRow(0, 1)) is true
+PASS table3.columnHeaderAtIndex(1).isEqual(table3.cellForColumnAndRow(1, 1)) is true
+PASS table3.columnHeaderAtIndex(2).isEqual(table3.cellForColumnAndRow(2, 0)) is true
+PASS table3.columnHeadersCount is 3
+PASS table4.rowHeaderAtIndex(0).isEqual(table4.cellForColumnAndRow(0, 0)) is true
+PASS table4.rowHeadersCount is 1
+PASS table4.columnHeaderAtIndex(0).isEqual(table4.cellForColumnAndRow(0, 1)) is true
+PASS table4.columnHeaderAtIndex(1).isEqual(table4.cellForColumnAndRow(1, 1)) is true
+PASS table4.columnHeaderAtIndex(2).isEqual(table4.cellForColumnAndRow(2, 1)) is true
+PASS table4.columnHeadersCount is 3
+PASS table5.rowHeaderAtIndex(0).isEqual(table5.cellForColumnAndRow(0, 0)) is true
+PASS table5.rowHeaderAtIndex(0).isEqual(table5.cellForColumnAndRow(0, 1)) is true
+PASS table5.rowHeaderAtIndex(1).isEqual(table5.cellForColumnAndRow(1, 1)) is true
+PASS table5.rowHeadersCount is 2
+PASS table5.columnHeaderAtIndex(0).isEqual(table5.cellForColumnAndRow(1, 0)) is true
+PASS table5.columnHeadersCount is 1
+PASS table6.rowHeaderAtIndex(0).isEqual(table6.cellForColumnAndRow(2, 3)) is true
+PASS table6.rowHeadersCount is 1
+PASS table6.columnHeaderAtIndex(0).isEqual(table6.cellForColumnAndRow(0, 0)) is true
+PASS table6.columnHeaderAtIndex(1).isEqual(table6.cellForColumnAndRow(0, 2)) is true
+PASS table6.columnHeaderAtIndex(1).isEqual(table6.cellForColumnAndRow(1, 2)) is true
+PASS table6.columnHeaderAtIndex(2).isEqual(table6.cellForColumnAndRow(1, 0)) is true
+PASS table6.columnHeaderAtIndex(3).isEqual(table6.cellForColumnAndRow(2, 0)) is true
+PASS table6.columnHeaderAtIndex(4).isEqual(table6.cellForColumnAndRow(2, 2)) is true
+PASS table6.columnHeadersCount is 5
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/accessibility/table-headers.html ('k') | Source/modules/accessibility/AXTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698