Bug 1828413 - Fix a11y tests so that they don't hover over the rounded corner.

MANUAL PUSH: Trivial fix CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez 2023-04-20 15:24:34 +02:00
Родитель d6432ed9c8
Коммит 3ce1c08d5b
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1307,8 +1307,8 @@ function synthMouseMove(aID, aCheckerOrEventSeq) {
this.__proto__ = new synthAction(aID, aCheckerOrEventSeq);
this.invoke = function synthMouseMove_invoke() {
synthesizeMouse(this.DOMNode, 1, 1, { type: "mousemove" });
synthesizeMouse(this.DOMNode, 2, 2, { type: "mousemove" });
synthesizeMouse(this.DOMNode, 5, 5, { type: "mousemove" });
synthesizeMouse(this.DOMNode, 6, 6, { type: "mousemove" });
};
this.getID = function synthMouseMove_getID() {

Просмотреть файл

@ -38,7 +38,7 @@
// mouseover and click on menuitem makes it active before menubar is
// active
gQueue.push(new synthClick("fruit", new focusChecker("fruit")));
gQueue.push(new synthClick("fruit", new focusChecker("fruit"), { where: "center" }));
// mouseover on menuitem when menubar is active
gQueue.push(new synthMouseMove("apple", new focusChecker("apple")));
@ -66,7 +66,7 @@
//gQueue.push(new synthRightKey("vehicle", new focusChecker("apple")));
// click menuitem to close menu, focus gets back to document
gQueue.push(new synthClick("tricycle", new focusChecker(document)));
gQueue.push(new synthClick("tricycle", new focusChecker(document), { where: "center" }));
//enableLogging("focus,DOMEvents,tree"); // logging for bug708927
//gQueue.onFinish = function() { disableLogging(); }