1 This tests rowIndex, in particular in cases where the table sections are in different orders.
3 A: This table has the header and footer before the body ("normal" order).
5 table A, header rowIndex = 0
6 table A, footer rowIndex = 2
7 table A, body rowIndex = 1
8 B: This table has the footer before the body and both before the header.
10 table B, footer rowIndex = 2
11 table B, body rowIndex = 1
12 table B, header rowIndex = 0
13 C: This table has two footers before two bodies before two heads.
15 table C, footer A row A rowIndex = 8
16 table C, footer A row B rowIndex = 9
17 table C, footer B row A rowIndex = 10
18 table C, footer B row B rowIndex = 11
19 table C, body A row A rowIndex = 4
20 table C, body A row B rowIndex = 5
21 table C, body B row A rowIndex = 6
22 table C, body B row B rowIndex = 7
23 table C, header A row A rowIndex = 0
24 table C, header A row B rowIndex = 1
25 table C, header B row A rowIndex = 2
26 table C, header B row B rowIndex = 3
27 D: This table has a head, foot, body, direct row children, and an extra foot.
29 table D, footer row A rowIndex = 6
30 table D, footer row B rowIndex = 7
31 table D, body row A rowIndex = 2
32 table D, body row B rowIndex = 3
33 table D, direct row A rowIndex = 4
34 table D, header A row A rowIndex = 0
35 table D, header A row B rowIndex = 1
36 table D, footer B row A rowIndex = 8
37 table D, footer B row B rowIndex = 9
38 table D, direct row B rowIndex = 5
39 E: This table only has a direct row child, added dynamically.
41 table E, direct row A rowIndex = 0