1 Test for Bugzilla Bug 74864: There is additional space not belonged to a table between the table cells.
3 An event generated on the edge of a table cell is not being consumed by the appropriate underlying element. This test verifies that the hittest result on the bottom edge of a table cell returns the proper underlying element.
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS successfullyParsed is true
11 Executing for element tr1-td1 on the bottom edge of the table cell:
12 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr1-td1'
13 PASS document.elementFromPoint(middleX, edge).id is 'tr2-td1'
14 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr2-td1'
15 Executing for element tr1-td2 on the bottom edge of the table cell:
16 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr1-td1'
17 PASS document.elementFromPoint(middleX, edge).id is 'tr2-td1'
18 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr2-td1'
19 Executing for element tr1-td3 on the bottom edge of the table cell:
20 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr1-td1'
21 PASS document.elementFromPoint(middleX, edge).id is 'tr2-td1'
22 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr2-td1'
23 Executing for element tr1-td4 on the bottom edge of the table cell:
24 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr1-td2'
25 PASS document.elementFromPoint(middleX, edge).id is 'tr2-td2'
26 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr2-td2'
27 Executing for element tr2-td1 on the bottom edge of the table cell:
28 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr2-td1'
29 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
30 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
31 Executing for element tr2-td2 on the bottom edge of the table cell:
32 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr2-td1'
33 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
34 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
35 Executing for element tr2-td3 on the bottom edge of the table cell:
36 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr2-td1'
37 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
38 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
39 Executing for element tr2-td4 on the bottom edge of the table cell:
40 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr2-td2'
41 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td2'
42 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td2'
43 Executing for element tr3-td1 on the bottom edge of the table cell:
44 PASS document.elementFromPoint(middleX, edge - 1).id is ''
45 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
46 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
47 Executing for element tr3-td2 on the bottom edge of the table cell:
48 PASS document.elementFromPoint(middleX, edge - 1).id is ''
49 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
50 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
51 Executing for element tr3-td3 on the bottom edge of the table cell:
52 PASS document.elementFromPoint(middleX, edge - 1).id is ''
53 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td1'
54 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td1'
55 Executing for element tr3-td4 on the bottom edge of the table cell:
56 PASS document.elementFromPoint(middleX, edge - 1).id is ''
57 PASS document.elementFromPoint(middleX, edge).id is 'tr4-td2'
58 PASS document.elementFromPoint(middleX, edge + 1).id is 'tr4-td2'
59 Executing for element tr4-td1 on the bottom edge of the table cell:
60 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr4-td1'
61 PASS document.elementFromPoint(middleX, edge).id is ''
62 PASS document.elementFromPoint(middleX, edge + 1).id is ''
63 Executing for element tr4-td2 on the bottom edge of the table cell:
64 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr4-td2'
65 PASS document.elementFromPoint(middleX, edge).id is ''
66 PASS document.elementFromPoint(middleX, edge + 1).id is ''
67 Executing for element tr4-td3 on the bottom edge of the table cell:
68 PASS document.elementFromPoint(middleX, edge - 1).id is ''
69 PASS document.elementFromPoint(middleX, edge).id is ''
70 PASS document.elementFromPoint(middleX, edge + 1).id is ''
71 Executing for element tr4-td4 on the bottom edge of the table cell:
72 PASS document.elementFromPoint(middleX, edge - 1).id is 'tr4-td4'
73 PASS document.elementFromPoint(middleX, edge).id is ''
74 PASS document.elementFromPoint(middleX, edge + 1).id is ''
75 PASS successfullyParsed is true