icecat: update upstream v128.13.0-1gnu1
This commit is contained in:
parent
a8d305c270
commit
0cdda4f34e
51 changed files with 5487 additions and 4614 deletions
|
|
@ -4345,16 +4345,17 @@ nsresult nsFocusManager::GetNextTabbableContent(
|
|||
rootElement = doc->GetRootElement();
|
||||
}
|
||||
if (aForward) {
|
||||
nsIFrame* frame = invokerContent->GetPrimaryFrame();
|
||||
int32_t tabIndex = frame->IsFocusable().mTabIndex;
|
||||
if (tabIndex >= 0 &&
|
||||
(aIgnoreTabIndex || aCurrentTabIndex == tabIndex)) {
|
||||
nsresult rv = GetNextTabbableContent(
|
||||
aPresShell, rootElement, nullptr, invokerContent, true,
|
||||
tabIndex, false, false, aNavigateByKey, true,
|
||||
aReachedToEndForDocumentNavigation, aResultContent);
|
||||
if (NS_SUCCEEDED(rv) && *aResultContent) {
|
||||
return rv;
|
||||
if (nsIFrame* frame = invokerContent->GetPrimaryFrame()) {
|
||||
int32_t tabIndex = frame->IsFocusable().mTabIndex;
|
||||
if (tabIndex >= 0 &&
|
||||
(aIgnoreTabIndex || aCurrentTabIndex == tabIndex)) {
|
||||
nsresult rv = GetNextTabbableContent(
|
||||
aPresShell, rootElement, nullptr, invokerContent, true,
|
||||
tabIndex, false, false, aNavigateByKey, true,
|
||||
aReachedToEndForDocumentNavigation, aResultContent);
|
||||
if (NS_SUCCEEDED(rv) && *aResultContent) {
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (invokerContent) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue