mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 797961 - Fix disappearing node case. r=davidb
This commit is contained in:
parent
621675f4fa
commit
1c61f5173f
@ -46,7 +46,9 @@ function virtualCursorControl(aMessage) {
|
||||
moved = vc[details.action](rule);
|
||||
}
|
||||
} catch (x) {
|
||||
moved = vc.moveNext(rule, content.document.activeElement, true);
|
||||
let acc = Utils.AccRetrieval.
|
||||
getAccessibleFor(content.document.activeElement);
|
||||
moved = vc.moveNext(rule, acc, true);
|
||||
}
|
||||
break;
|
||||
case 'moveToPoint':
|
||||
@ -88,7 +90,7 @@ function forwardMessage(aVirtualCursor, aMessage) {
|
||||
return true;
|
||||
}
|
||||
} catch (x) {
|
||||
Logger.error(x);
|
||||
// Frame may be hidden, we regard this case as false.
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user