mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 503222, check file types on drop last so that urls take priority,r=mano
This commit is contained in:
parent
951de11b1c
commit
b377c20895
@ -242,12 +242,9 @@ nsSelectMoveScrollCommand::DoSelectCommand(const char *aCommandName, nsIDOMWindo
|
||||
selCont->GetCaretEnabled(&caretOn);
|
||||
|
||||
// We allow the caret to be moved with arrow keys on any window for which
|
||||
// the caret is enabled. In particular, this includes caret-browsing mode,
|
||||
// but we refer to this mode again in the test condition for readability.
|
||||
if (caretOn) {
|
||||
// XXXndeakin P3 perhaps this should be cached
|
||||
if (nsContentUtils::GetBoolPref("accessibility.browsewithcaret"))
|
||||
return DoCommandBrowseWithCaretOn(aCommandName, aWindow, selCont);
|
||||
// the caret is enabled. In particular, this includes caret-browsing mode.
|
||||
if (caretOn || nsContentUtils::GetBoolPref("accessibility.browsewithcaret")) {
|
||||
return DoCommandBrowseWithCaretOn(aCommandName, aWindow, selCont);
|
||||
}
|
||||
|
||||
return DoCommandBrowseWithCaretOff(aCommandName, selCont);
|
||||
|
@ -85,6 +85,7 @@ _TEST_FILES = findbar_window.xul \
|
||||
test_autocomplete4.xul \
|
||||
test_keys.xul \
|
||||
window_keys.xul \
|
||||
test_showcaret.xul \
|
||||
$(NULL)
|
||||
|
||||
# test_panel_focus.xul won't work if the Full Keyboard Access preference is set to
|
||||
|
Loading…
Reference in New Issue
Block a user