--- a/layout/forms/test/test_bug549170.html
+++ b/layout/forms/test/test_bug549170.html
@@ -42,23 +42,23 @@ function mouseHandler(aEvent)
is(SpecialPowers.wrap(aEvent).originalTarget.nodeName, "DIV", "An inner div should be the target of the event");
ok(SpecialPowers.wrap(aEvent).originalTarget.classList.contains("anonymous-div"), "the target div should be the editor div");
}
function checkMouseEvents(element)
{
gNumberOfMouseEventsCatched = 0;
- synthesizeMouse(element, 5, 5, {type: "mousedown", button: 0});
- synthesizeMouse(element, 5, 5, {type: "mouseup", button: 0});
- synthesizeMouse(element, 5, 5, {type: "mousedown", button: 1});
+ synthesizeMouse(element, 7, 7, {type: "mousedown", button: 0});
+ synthesizeMouse(element, 7, 7, {type: "mouseup", button: 0});
+ synthesizeMouse(element, 7, 7, {type: "mousedown", button: 1});
// NOTE: this event is going to copy the buffer on linux, this should not be a problem
- synthesizeMouse(element, 5, 5, {type: "mouseup", button: 1});
- synthesizeMouse(element, 5, 5, {type: "mousedown", button: 2});
- synthesizeMouse(element, 5, 5, {type: "mouseup", button: 2});
+ synthesizeMouse(element, 7, 7, {type: "mouseup", button: 1});
+ synthesizeMouse(element, 7, 7, {type: "mousedown", button: 2});
+ synthesizeMouse(element, 7, 7, {type: "mouseup", button: 2});
is(gNumberOfMouseEventsCatched, 6, "Some mouse events have not been catched");
}
function runTests()
{
checkMouseEvents(document.getElementById('i'));
checkMouseEvents(document.getElementById('t'));