mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1124982 - [AccessFu] Use correct symbols for keycodes in ContentControl.adjustRange(). r=yzen
This commit is contained in:
parent
9b8536ca81
commit
3a66f27ca6
@ -287,8 +287,7 @@ this.ContentControl.prototype = {
|
||||
elem.dispatchEvent(evt);
|
||||
} else {
|
||||
let evt = this.document.createEvent('KeyboardEvent');
|
||||
let keycode = aStepUp ? content.KeyEvent.DOM_VK_DOWN :
|
||||
content.KeyEvent.DOM_VK_UP;
|
||||
let keycode = aStepUp ? evt.DOM_VK_DOWN : evt.DOM_VK_UP;
|
||||
evt.initKeyEvent(
|
||||
"keypress", false, true, null, false, false, false, false, keycode, 0);
|
||||
elem.dispatchEvent(evt);
|
||||
|
Loading…
Reference in New Issue
Block a user