| OLD | NEW |
| 1 This page tests whether a click event on a list box item propogates with the cor
rect target and positioning values. | 1 This page tests whether a click event on a list box item propogates with the cor
rect target and positioning values. |
| 2 Bug 3248: Mouse events on OPTION element seem to be ignored | 2 Bug 3248: Mouse events on OPTION element seem to be ignored |
| 3 https://bugs.webkit.org/show_bug.cgi?id=3248 | 3 https://bugs.webkit.org/show_bug.cgi?id=3248 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 PASS: event type should be mousedown and is | 9 PASS: event type should be mousedown and is |
| 10 PASS: event target should be [object HTMLOptionElement] and is | 10 PASS: event target should be [object HTMLOptionElement] and is |
| 11 PASS: event.pageX should be 22 and is | 11 PASS: event.pageX should be 22 and is |
| 12 PASS: event.pageY should be 104 and is | 12 PASS: event.pageY should be 104 and is |
| 13 PASS: event.offsetX should be 22 and is | 13 PASS: event.offsetX should be 13 and is |
| 14 PASS: event.offsetY should be 104 and is | 14 PASS: event.offsetY should be 5 and is |
| 15 PASS: event.x should be 22 and is | 15 PASS: event.x should be 22 and is |
| 16 PASS: event.y should be 104 and is | 16 PASS: event.y should be 104 and is |
| 17 PASS: event type should be mousedown and is | 17 PASS: event type should be mousedown and is |
| 18 PASS: event target should be [object HTMLOptionElement] and is | 18 PASS: event target should be [object HTMLOptionElement] and is |
| 19 PASS: event.pageX should be 22 and is | 19 PASS: event.pageX should be 22 and is |
| 20 PASS: event.pageY should be 104 and is | 20 PASS: event.pageY should be 104 and is |
| 21 PASS: event.offsetX should be 22 and is | 21 PASS: event.offsetX should be 13 and is |
| 22 PASS: event.offsetY should be 104 and is | 22 PASS: event.offsetY should be 5 and is |
| 23 PASS: event.x should be 22 and is | 23 PASS: event.x should be 22 and is |
| 24 PASS: event.y should be 104 and is | 24 PASS: event.y should be 104 and is |
| 25 PASS: event type should be mouseup and is | 25 PASS: event type should be mouseup and is |
| 26 PASS: event target should be [object HTMLOptionElement] and is | 26 PASS: event target should be [object HTMLOptionElement] and is |
| 27 PASS: event.pageX should be 22 and is | 27 PASS: event.pageX should be 22 and is |
| 28 PASS: event.pageY should be 184 and is | 28 PASS: event.pageY should be 184 and is |
| 29 PASS: event.offsetX should be 22 and is | 29 PASS: event.offsetX should be 13 and is |
| 30 PASS: event.offsetY should be 184 and is | 30 PASS: event.offsetY should be 5 and is |
| 31 PASS: event.x should be 22 and is | 31 PASS: event.x should be 22 and is |
| 32 PASS: event.y should be 184 and is | 32 PASS: event.y should be 184 and is |
| 33 PASS: event type should be mouseup and is | 33 PASS: event type should be mouseup and is |
| 34 PASS: event target should be [object HTMLOptionElement] and is | 34 PASS: event target should be [object HTMLOptionElement] and is |
| 35 PASS: event.pageX should be 22 and is | 35 PASS: event.pageX should be 22 and is |
| 36 PASS: event.pageY should be 184 and is | 36 PASS: event.pageY should be 184 and is |
| 37 PASS: event.offsetX should be 22 and is | 37 PASS: event.offsetX should be 13 and is |
| 38 PASS: event.offsetY should be 184 and is | 38 PASS: event.offsetY should be 5 and is |
| 39 PASS: event.x should be 22 and is | 39 PASS: event.x should be 22 and is |
| 40 PASS: event.y should be 184 and is | 40 PASS: event.y should be 184 and is |
| 41 PASS: event type should be click and is | 41 PASS: event type should be click and is |
| 42 PASS: event target should be [object HTMLOptionElement] and is | 42 PASS: event target should be [object HTMLOptionElement] and is |
| 43 PASS: event.pageX should be 22 and is | 43 PASS: event.pageX should be 22 and is |
| 44 PASS: event.pageY should be 262 and is | 44 PASS: event.pageY should be 262 and is |
| 45 PASS: event.offsetX should be 22 and is | 45 PASS: event.offsetX should be 13 and is |
| 46 PASS: event.offsetY should be 262 and is | 46 PASS: event.offsetY should be 5 and is |
| 47 PASS: event.x should be 22 and is | 47 PASS: event.x should be 22 and is |
| 48 PASS: event.y should be 262 and is | 48 PASS: event.y should be 262 and is |
| 49 PASS: event type should be click and is | 49 PASS: event type should be click and is |
| 50 PASS: event target should be [object HTMLOptionElement] and is | 50 PASS: event target should be [object HTMLOptionElement] and is |
| 51 PASS: event.pageX should be 22 and is | 51 PASS: event.pageX should be 22 and is |
| 52 PASS: event.pageY should be 262 and is | 52 PASS: event.pageY should be 262 and is |
| 53 PASS: event.offsetX should be 22 and is | 53 PASS: event.offsetX should be 13 and is |
| 54 PASS: event.offsetY should be 262 and is | 54 PASS: event.offsetY should be 5 and is |
| 55 PASS: event.x should be 22 and is | 55 PASS: event.x should be 22 and is |
| 56 PASS: event.y should be 262 and is | 56 PASS: event.y should be 262 and is |
| 57 PASS: event type should be dblclick and is | 57 PASS: event type should be dblclick and is |
| 58 PASS: event target should be [object HTMLOptionElement] and is | 58 PASS: event target should be [object HTMLOptionElement] and is |
| 59 PASS: event.pageX should be 22 and is | 59 PASS: event.pageX should be 22 and is |
| 60 PASS: event.pageY should be 344 and is | 60 PASS: event.pageY should be 344 and is |
| 61 PASS: event.offsetX should be 22 and is | 61 PASS: event.offsetX should be 13 and is |
| 62 PASS: event.offsetY should be 344 and is | 62 PASS: event.offsetY should be 5 and is |
| 63 PASS: event.x should be 22 and is | 63 PASS: event.x should be 22 and is |
| 64 PASS: event.y should be 344 and is | 64 PASS: event.y should be 344 and is |
| 65 PASS: event type should be dblclick and is | 65 PASS: event type should be dblclick and is |
| 66 PASS: event target should be [object HTMLOptionElement] and is | 66 PASS: event target should be [object HTMLOptionElement] and is |
| 67 PASS: event.pageX should be 22 and is | 67 PASS: event.pageX should be 22 and is |
| 68 PASS: event.pageY should be 344 and is | 68 PASS: event.pageY should be 344 and is |
| 69 PASS: event.offsetX should be 22 and is | 69 PASS: event.offsetX should be 13 and is |
| 70 PASS: event.offsetY should be 344 and is | 70 PASS: event.offsetY should be 5 and is |
| 71 PASS: event.x should be 22 and is | 71 PASS: event.x should be 22 and is |
| 72 PASS: event.y should be 344 and is | 72 PASS: event.y should be 344 and is |
| 73 PASS: event type should be mousedown and is | 73 PASS: event type should be mousedown and is |
| 74 PASS: event target should be [object HTMLSelectElement] and is | 74 PASS: event target should be [object HTMLSelectElement] and is |
| 75 PASS: event.pageX should be 22 and is | 75 PASS: event.pageX should be 22 and is |
| 76 PASS: event.pageY should be 448 and is | 76 PASS: event.pageY should be 448 and is |
| 77 FAIL: event.offsetX should be 12 but instead is 14 | 77 FAIL: event.offsetX should be 12 but instead is 14 |
| 78 FAIL: event.offsetY should be 38 but instead is 40 | 78 FAIL: event.offsetY should be 38 but instead is 40 |
| 79 PASS: event.x should be 22 and is | 79 PASS: event.x should be 22 and is |
| 80 PASS: event.y should be 448 and is | 80 PASS: event.y should be 448 and is |
| 81 PASS: event type should be mousedown and is | 81 PASS: event type should be mousedown and is |
| 82 PASS: event target should be [object HTMLSelectElement] and is | 82 PASS: event target should be [object HTMLSelectElement] and is |
| 83 PASS: event.pageX should be 22 and is | 83 PASS: event.pageX should be 22 and is |
| 84 PASS: event.pageY should be 448 and is | 84 PASS: event.pageY should be 448 and is |
| 85 FAIL: event.offsetX should be 12 but instead is 14 | 85 FAIL: event.offsetX should be 12 but instead is 14 |
| 86 FAIL: event.offsetY should be 38 but instead is 40 | 86 FAIL: event.offsetY should be 38 but instead is 40 |
| 87 PASS: event.x should be 22 and is | 87 PASS: event.x should be 22 and is |
| 88 PASS: event.y should be 448 and is | 88 PASS: event.y should be 448 and is |
| OLD | NEW |