зеркало из https://github.com/mozilla/gecko-dev.git
171003: shift-tab shouldn't land on images twice. r=aaronl, sr=bryner, a=dbaron
This commit is contained in:
Родитель
2b760a2f58
Коммит
57086eda12
|
@ -3480,9 +3480,7 @@ nsEventStateManager::GetNextTabbableContent(nsIContent* aRootContent, nsIFrame*
|
|||
}
|
||||
}
|
||||
else if (nsHTMLAtoms::img==tag) {
|
||||
// Images are treated like links for tab focus purposes.
|
||||
disabled = !(sTabFocusModel & eTabFocus_linksMask);
|
||||
if (!disabled) {
|
||||
if (sTabFocusModel & eTabFocus_linksMask) {
|
||||
nsCOMPtr<nsIDOMHTMLImageElement> nextImage(do_QueryInterface(child));
|
||||
nsAutoString usemap;
|
||||
if (nextImage) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче