Bug 1380393 part 2. Remove nsIDOMHTMLElement.tabIndex. r=mccr8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user