Bug 1380393 part 2. Remove nsIDOMHTMLElement.tabIndex. r=mccr8

This commit is contained in:
Boris Zbarsky
2017-07-13 23:45:49 -04:00
parent 01a42eb3b2
commit 636876c10b
6 changed files with 7 additions and 19 deletions

View File

@@ -361,7 +361,7 @@ HTMLObjectElement::IsHTMLFocusable(bool aWithMouse,
nsIDocument *doc = GetComposedDoc();
if (!doc || doc->HasFlag(NODE_IS_EDITABLE)) {
if (aTabIndex) {
GetTabIndex(aTabIndex);
*aTabIndex = TabIndex();
}
*aIsFocusable = false;
@@ -377,7 +377,7 @@ HTMLObjectElement::IsHTMLFocusable(bool aWithMouse,
// Has plugin content: let the plugin decide what to do in terms of
// internal focus from mouse clicks
if (aTabIndex) {
GetTabIndex(aTabIndex);
*aTabIndex = TabIndex();
}
*aIsFocusable = true;