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

@@ -401,9 +401,8 @@ nsNumberControlFrame::CreateAnonymousContent(nsTArray<ContentInfo>& aElements)
}
// Propogate our tabindex:
int32_t tabIndex;
content->GetTabIndex(&tabIndex);
textField->SetTabIndex(tabIndex);
IgnoredErrorResult ignored;
textField->SetTabIndex(content->TabIndex(), ignored);
// Initialize the text field's placeholder, if ours is set:
nsAutoString placeholder;