Changeset 41589 in webkit


Ignore:
Timestamp:
Mar 11, 2009 10:58:06 AM (15 years ago)
Author:
pam@chromium.org
Message:

2009-03-11 Marc-André Decoste <mad@chromium.org>

Reviewed by Eric Seidel.

Fixed the positions of the list boxes so that the size of their
rendering doesn't affect the test coordinates.
https://bugs.webkit.org/show_bug.cgi?id=24006

  • fast/forms/option-mouseevents-expected.txt:
  • fast/forms/option-mouseevents.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r41588 r41589  
     12009-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
    1122009-03-11  Hironori Bono  <hbono@chromium.org>
    213
  • trunk/LayoutTests/fast/forms/option-mouseevents-expected.txt

    r40763 r41589  
    22Bug 3248: Mouse events on OPTION element seem to be ignored
    33https://bugs.webkit.org/show_bug.cgi?id=3248
    4 
    54
    65
     
    2726PASS: event target should be [object HTMLOptionElement] and is
    2827PASS: event.pageX should be 22 and is
    29 PASS: event.pageY should be 174 and is
     28PASS: event.pageY should be 184 and is
    3029PASS: event.offsetX should be 22 and is
    31 PASS: event.offsetY should be 174 and is
     30PASS: event.offsetY should be 184 and is
    3231PASS: event.x should be 22 and is
    33 PASS: event.y should be 174 and is
     32PASS: event.y should be 184 and is
    3433PASS: event type should be mouseup and is
    3534PASS: event target should be [object HTMLOptionElement] and is
    3635PASS: event.pageX should be 22 and is
    37 PASS: event.pageY should be 174 and is
     36PASS: event.pageY should be 184 and is
    3837PASS: event.offsetX should be 22 and is
    39 PASS: event.offsetY should be 174 and is
     38PASS: event.offsetY should be 184 and is
    4039PASS: event.x should be 22 and is
    41 PASS: event.y should be 174 and is
     40PASS: event.y should be 184 and is
    4241PASS: event type should be click and is
    4342PASS: event target should be [object HTMLOptionElement] and is
     
    5958PASS: event target should be [object HTMLOptionElement] and is
    6059PASS: event.pageX should be 22 and is
    61 PASS: event.pageY should be 334 and is
     60PASS: event.pageY should be 344 and is
    6261PASS: event.offsetX should be 22 and is
    63 PASS: event.offsetY should be 334 and is
     62PASS: event.offsetY should be 344 and is
    6463PASS: event.x should be 22 and is
    65 PASS: event.y should be 334 and is
     64PASS: event.y should be 344 and is
    6665PASS: event type should be dblclick and is
    6766PASS: event target should be [object HTMLOptionElement] and is
    6867PASS: event.pageX should be 22 and is
    69 PASS: event.pageY should be 334 and is
     68PASS: event.pageY should be 344 and is
    7069PASS: event.offsetX should be 22 and is
    71 PASS: event.offsetY should be 334 and is
     70PASS: event.offsetY should be 344 and is
    7271PASS: event.x should be 22 and is
    73 PASS: event.y should be 334 and is
     72PASS: event.y should be 344 and is
    7473PASS: event type should be mousedown and is
    7574PASS: event target should be [object HTMLSelectElement] and is
    7675PASS: event.pageX should be 22 and is
    77 PASS: event.pageY should be 428 and is
     76PASS: event.pageY should be 448 and is
    7877PASS: event.offsetX should be 12 and is
    79 PASS: event.offsetY should be 40 and is
     78PASS: event.offsetY should be 38 and is
    8079PASS: event.x should be 22 and is
    81 PASS: event.y should be 428 and is
     80PASS: event.y should be 448 and is
    8281PASS: event type should be mousedown and is
    8382PASS: event target should be [object HTMLSelectElement] and is
    8483PASS: event.pageX should be 22 and is
    85 PASS: event.pageY should be 428 and is
     84PASS: event.pageY should be 448 and is
    8685PASS: event.offsetX should be 12 and is
    87 PASS: event.offsetY should be 40 and is
     86PASS: event.offsetY should be 38 and is
    8887PASS: event.x should be 22 and is
    89 PASS: event.y should be 428 and is
     88PASS: event.y should be 448 and is
  • trunk/LayoutTests/fast/forms/option-mouseevents.html

    r40763 r41589  
    5757
    5858    if (window.eventSender) {
    59         eventSender.mouseMoveTo(22, 174);
     59        eventSender.mouseMoveTo(22, 184);
    6060        eventSender.mouseDown();
    6161        eventSender.mouseUp();
     
    6969
    7070    if (window.eventSender) {
    71         eventSender.mouseMoveTo(22, 334);
     71        eventSender.mouseMoveTo(22, 344);
    7272        eventSender.mouseDown();
    7373        eventSender.mouseUp();
     
    7777
    7878    if (window.eventSender) {
    79         eventSender.mouseMoveTo(22, 428);
     79        eventSender.mouseMoveTo(22, 448);
    8080        eventSender.mouseDown();
    8181        eventSender.mouseUp();
     
    9494<a href="https://bugs.webkit.org/show_bug.cgi?id=3248">https://bugs.webkit.org/show_bug.cgi?id=3248</a></p>
    9595<form action="" method="post">
    96 <select size="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')">
    9797<option>One
    9898<option id="o1" onmousedown="mouseeventverify(event, 22, 104, this, 'mousedown')">Two
     
    100100</form>
    101101<form action="" method="post">
    102 <select size="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')">
    103103<option>One
    104 <option id="o2" onmouseup="mouseeventverify(event, 22, 174, this, 'mouseup')">Two
     104<option id="o2" onmouseup="mouseeventverify(event, 22, 184, this, 'mouseup')">Two
    105105</select>
    106106</form>
    107107<form action="" method="post">
    108 <select size="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')">
    109109<option>One
    110110<option id="o3" onclick="mouseeventverify(event, 22, 262, this, 'click')">Two
     
    112112</form>
    113113<form action="" method="post">
    114 <select size="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')">
    115115<option>One
    116 <option id="o4" ondblclick="mouseeventverify(event, 22, 334, this, 'dblclick')">Two
     116<option id="o4" ondblclick="mouseeventverify(event, 22, 344, this, 'dblclick')">Two
    117117</select>
    118118</form>
    119 <select size="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')">
    120120<option>One
    121 <option id="o5" onmousedown="mouseeventverify2(event, 22, 428, 12, 40, this, 'mousedown')">Two
     121<option id="o5" onmousedown="mouseeventverify2(event, 22, 448, 12, 38, this, 'mousedown')">Two
    122122</select>
    123123</form>
Note: See TracChangeset for help on using the changeset viewer.