зеркало из https://github.com/mozilla/gecko-dev.git
171003: shift-tab shouldn't land on images twice: add a comment. r=aaronl, sr=bryner, a=dbaron
This commit is contained in:
Родитель
57086eda12
Коммит
da9584c86a
|
@ -3480,6 +3480,8 @@ nsEventStateManager::GetNextTabbableContent(nsIContent* aRootContent, nsIFrame*
|
|||
}
|
||||
}
|
||||
else if (nsHTMLAtoms::img==tag) {
|
||||
// Don't need to set disabled here, because if we
|
||||
// match an imagemap, we'll return from there.
|
||||
if (sTabFocusModel & eTabFocus_linksMask) {
|
||||
nsCOMPtr<nsIDOMHTMLImageElement> nextImage(do_QueryInterface(child));
|
||||
nsAutoString usemap;
|
||||
|
|
Загрузка…
Ссылка в новой задаче