Changeset 41589 in webkit
- Timestamp:
- Mar 11, 2009 10:58:06 AM (15 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r41588 r41589 1 2009-03-11 Marc-André Decoste <mad@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Fixed the positions of the list boxes so that the size of their 6 rendering doesn't affect the test coordinates. 7 https://bugs.webkit.org/show_bug.cgi?id=24006 8 9 * fast/forms/option-mouseevents-expected.txt: 10 * fast/forms/option-mouseevents.html: 11 1 12 2009-03-11 Hironori Bono <hbono@chromium.org> 2 13 -
trunk/LayoutTests/fast/forms/option-mouseevents-expected.txt
r40763 r41589 2 2 Bug 3248: Mouse events on OPTION element seem to be ignored 3 3 https://bugs.webkit.org/show_bug.cgi?id=3248 4 5 4 6 5 … … 27 26 PASS: event target should be [object HTMLOptionElement] and is 28 27 PASS: event.pageX should be 22 and is 29 PASS: event.pageY should be 1 74 and is28 PASS: event.pageY should be 184 and is 30 29 PASS: event.offsetX should be 22 and is 31 PASS: event.offsetY should be 1 74 and is30 PASS: event.offsetY should be 184 and is 32 31 PASS: event.x should be 22 and is 33 PASS: event.y should be 1 74 and is32 PASS: event.y should be 184 and is 34 33 PASS: event type should be mouseup and is 35 34 PASS: event target should be [object HTMLOptionElement] and is 36 35 PASS: event.pageX should be 22 and is 37 PASS: event.pageY should be 1 74 and is36 PASS: event.pageY should be 184 and is 38 37 PASS: event.offsetX should be 22 and is 39 PASS: event.offsetY should be 1 74 and is38 PASS: event.offsetY should be 184 and is 40 39 PASS: event.x should be 22 and is 41 PASS: event.y should be 1 74 and is40 PASS: event.y should be 184 and is 42 41 PASS: event type should be click and is 43 42 PASS: event target should be [object HTMLOptionElement] and is … … 59 58 PASS: event target should be [object HTMLOptionElement] and is 60 59 PASS: event.pageX should be 22 and is 61 PASS: event.pageY should be 3 34 and is60 PASS: event.pageY should be 344 and is 62 61 PASS: event.offsetX should be 22 and is 63 PASS: event.offsetY should be 3 34 and is62 PASS: event.offsetY should be 344 and is 64 63 PASS: event.x should be 22 and is 65 PASS: event.y should be 3 34 and is64 PASS: event.y should be 344 and is 66 65 PASS: event type should be dblclick and is 67 66 PASS: event target should be [object HTMLOptionElement] and is 68 67 PASS: event.pageX should be 22 and is 69 PASS: event.pageY should be 3 34 and is68 PASS: event.pageY should be 344 and is 70 69 PASS: event.offsetX should be 22 and is 71 PASS: event.offsetY should be 3 34 and is70 PASS: event.offsetY should be 344 and is 72 71 PASS: event.x should be 22 and is 73 PASS: event.y should be 3 34 and is72 PASS: event.y should be 344 and is 74 73 PASS: event type should be mousedown and is 75 74 PASS: event target should be [object HTMLSelectElement] and is 76 75 PASS: event.pageX should be 22 and is 77 PASS: event.pageY should be 4 28 and is76 PASS: event.pageY should be 448 and is 78 77 PASS: event.offsetX should be 12 and is 79 PASS: event.offsetY should be 40and is78 PASS: event.offsetY should be 38 and is 80 79 PASS: event.x should be 22 and is 81 PASS: event.y should be 4 28 and is80 PASS: event.y should be 448 and is 82 81 PASS: event type should be mousedown and is 83 82 PASS: event target should be [object HTMLSelectElement] and is 84 83 PASS: event.pageX should be 22 and is 85 PASS: event.pageY should be 4 28 and is84 PASS: event.pageY should be 448 and is 86 85 PASS: event.offsetX should be 12 and is 87 PASS: event.offsetY should be 40and is86 PASS: event.offsetY should be 38 and is 88 87 PASS: event.x should be 22 and is 89 PASS: event.y should be 4 28 and is88 PASS: event.y should be 448 and is -
trunk/LayoutTests/fast/forms/option-mouseevents.html
r40763 r41589 57 57 58 58 if (window.eventSender) { 59 eventSender.mouseMoveTo(22, 1 74);59 eventSender.mouseMoveTo(22, 184); 60 60 eventSender.mouseDown(); 61 61 eventSender.mouseUp(); … … 69 69 70 70 if (window.eventSender) { 71 eventSender.mouseMoveTo(22, 3 34);71 eventSender.mouseMoveTo(22, 344); 72 72 eventSender.mouseDown(); 73 73 eventSender.mouseUp(); … … 77 77 78 78 if (window.eventSender) { 79 eventSender.mouseMoveTo(22, 4 28);79 eventSender.mouseMoveTo(22, 448); 80 80 eventSender.mouseDown(); 81 81 eventSender.mouseUp(); … … 94 94 <a href="https://bugs.webkit.org/show_bug.cgi?id=3248">https://bugs.webkit.org/show_bug.cgi?id=3248</a></p> 95 95 <form action="" method="post"> 96 <select s ize="2" onmousedown="mouseeventverify(event, 22, 104, document.getElementById('o1'), 'mousedown')">96 <select style="position:absolute; top: 84;" size="2" onmousedown="mouseeventverify(event, 22, 104, document.getElementById('o1'), 'mousedown')"> 97 97 <option>One 98 98 <option id="o1" onmousedown="mouseeventverify(event, 22, 104, this, 'mousedown')">Two … … 100 100 </form> 101 101 <form action="" method="post"> 102 <select s ize="2" onmouseup="mouseeventverify(event, 22, 174, document.getElementById('o2'), 'mouseup')">102 <select style="position:absolute; top: 164;" size="2" onmouseup="mouseeventverify(event, 22, 184, document.getElementById('o2'), 'mouseup')"> 103 103 <option>One 104 <option id="o2" onmouseup="mouseeventverify(event, 22, 1 74, this, 'mouseup')">Two104 <option id="o2" onmouseup="mouseeventverify(event, 22, 184, this, 'mouseup')">Two 105 105 </select> 106 106 </form> 107 107 <form action="" method="post"> 108 <select s ize="2" onclick="mouseeventverify(event, 22, 262, document.getElementById('o3'), 'click')">108 <select style="position:absolute; top: 242;" size="2" onclick="mouseeventverify(event, 22, 262, document.getElementById('o3'), 'click')"> 109 109 <option>One 110 110 <option id="o3" onclick="mouseeventverify(event, 22, 262, this, 'click')">Two … … 112 112 </form> 113 113 <form action="" method="post"> 114 <select s ize="2" ondblclick="mouseeventverify(event, 22, 334, document.getElementById('o4'), 'dblclick')">114 <select style="position:absolute; top: 324;" size="2" ondblclick="mouseeventverify(event, 22, 344, document.getElementById('o4'), 'dblclick')"> 115 115 <option>One 116 <option id="o4" ondblclick="mouseeventverify(event, 22, 3 34, this, 'dblclick')">Two116 <option id="o4" ondblclick="mouseeventverify(event, 22, 344, this, 'dblclick')">Two 117 117 </select> 118 118 </form> 119 <select s ize="3" onmousedown="mouseeventverify2(event, 22, 428, 12, 40, this, 'mousedown')">119 <select style="position:absolute; top: 408;" size="3" onmousedown="mouseeventverify2(event, 22, 448, 12, 38, this, 'mousedown')"> 120 120 <option>One 121 <option id="o5" onmousedown="mouseeventverify2(event, 22, 4 28, 12, 40, this, 'mousedown')">Two121 <option id="o5" onmousedown="mouseeventverify2(event, 22, 448, 12, 38, this, 'mousedown')">Two 122 122 </select> 123 123 </form>
Note: See TracChangeset
for help on using the changeset viewer.