зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d6432ed9c8
Коммит
3ce1c08d5b
|
@ -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(); }
|
||||
|
|
Загрузка…
Ссылка в новой задаче