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 right edge of a table cell (with borders) 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 right edge of the table cell:
12 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr1-td1'
13 PASS document.elementFromPoint(edge, middleY).id is 'tr1-td2'
14 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr1-td2'
15 Executing for element tr1-td2 on the right edge of the table cell:
16 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr1-td2'
17 PASS document.elementFromPoint(edge, middleY).id is 'tr1-td3'
18 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr1-td3'
19 Executing for element tr1-td3 on the right edge of the table cell:
20 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr1-td3'
21 PASS document.elementFromPoint(edge, middleY).id is 'tr1-td4'
22 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr1-td4'
23 Executing for element tr1-td4 on the right edge of the table cell:
24 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr1-td4'
25 PASS document.elementFromPoint(edge, middleY).id is ''
26 PASS document.elementFromPoint(edge + 1, middleY).id is ''
27 Executing for element tr2-td1 on the right edge of the table cell:
28 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr2-td1'
29 PASS document.elementFromPoint(edge, middleY).id is 'tr2-td2'
30 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr2-td2'
31 Executing for element tr2-td2 on the right edge of the table cell:
32 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr2-td2'
33 PASS document.elementFromPoint(edge, middleY).id is 'tr2-td3'
34 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr2-td3'
35 Executing for element tr2-td3 on the right edge of the table cell:
36 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr2-td3'
37 PASS document.elementFromPoint(edge, middleY).id is 'tr2-td4'
38 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr2-td4'
39 Executing for element tr2-td4 on the right edge of the table cell:
40 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr2-td4'
41 PASS document.elementFromPoint(edge, middleY).id is ''
42 PASS document.elementFromPoint(edge + 1, middleY).id is ''
43 Executing for element tr3-td1 on the right edge of the table cell:
44 PASS document.elementFromPoint(edge - 1, middleY).id is ''
45 PASS document.elementFromPoint(edge, middleY).id is ''
46 PASS document.elementFromPoint(edge + 1, middleY).id is ''
47 Executing for element tr3-td2 on the right edge of the table cell:
48 PASS document.elementFromPoint(edge - 1, middleY).id is ''
49 PASS document.elementFromPoint(edge, middleY).id is ''
50 PASS document.elementFromPoint(edge + 1, middleY).id is ''
51 Executing for element tr3-td3 on the right edge of the table cell:
52 PASS document.elementFromPoint(edge - 1, middleY).id is ''
53 PASS document.elementFromPoint(edge, middleY).id is ''
54 PASS document.elementFromPoint(edge + 1, middleY).id is ''
55 Executing for element tr3-td4 on the right edge of the table cell:
56 PASS document.elementFromPoint(edge - 1, middleY).id is ''
57 PASS document.elementFromPoint(edge, middleY).id is ''
58 PASS document.elementFromPoint(edge + 1, middleY).id is ''
59 Executing for element tr4-td1 on the right edge of the table cell:
60 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr4-td1'
61 PASS document.elementFromPoint(edge, middleY).id is 'tr4-td2'
62 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr4-td2'
63 Executing for element tr4-td2 on the right edge of the table cell:
64 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr4-td2'
65 PASS document.elementFromPoint(edge, middleY).id is 'tr4-td3'
66 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr4-td3'
67 Executing for element tr4-td3 on the right edge of the table cell:
68 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr4-td3'
69 PASS document.elementFromPoint(edge, middleY).id is 'tr4-td4'
70 PASS document.elementFromPoint(edge + 1, middleY).id is 'tr4-td4'
71 Executing for element tr4-td4 on the right edge of the table cell:
72 PASS document.elementFromPoint(edge - 1, middleY).id is 'tr4-td4'
73 PASS document.elementFromPoint(edge, middleY).id is ''
74 PASS document.elementFromPoint(edge + 1, middleY).id is ''
75 PASS successfullyParsed is true