зеркало из https://github.com/mozilla/gecko-dev.git
Bug 250858. Focus outline appearing on image when image map area clicked. r=bryner, sr=jst
This commit is contained in:
Родитель
bf49c01782
Коммит
a4d54522ee
|
@ -546,7 +546,9 @@ nsHTMLImageElement::IsFocusable(PRInt32 *aTabIndex)
|
||||||
// Use tab index on individual map areas
|
// Use tab index on individual map areas
|
||||||
*aTabIndex = (sTabFocusModel & eTabFocus_linksMask)? 0 : -1;
|
*aTabIndex = (sTabFocusModel & eTabFocus_linksMask)? 0 : -1;
|
||||||
}
|
}
|
||||||
return PR_TRUE;
|
// Image map is not focusable itself, but flag as tabbable
|
||||||
|
// so that image map areas get walked into.
|
||||||
|
return PR_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче