Backed out changeset cb88e52676eb (bug 1267488) for causing bc failures on browser_quicksuggest_onboardingDialog.js. CLOSED TREE
This commit is contained in:
@@ -6480,8 +6480,7 @@ bool HTMLInputElement::IsHTMLFocusable(bool aWithMouse, bool* aIsFocusable,
|
||||
}
|
||||
|
||||
// Current radio button is not selected.
|
||||
// Make it tabbable if nothing in group is selected and it is the first radio
|
||||
// button.
|
||||
// But make it tabbable if nothing in group is selected.
|
||||
auto* container = GetCurrentRadioGroupContainer();
|
||||
if (!container) {
|
||||
*aIsFocusable = defaultFocusable;
|
||||
@@ -6491,8 +6490,7 @@ bool HTMLInputElement::IsHTMLFocusable(bool aWithMouse, bool* aIsFocusable,
|
||||
nsAutoString name;
|
||||
GetAttr(nsGkAtoms::name, name);
|
||||
|
||||
if (container->GetCurrentRadioButton(name) ||
|
||||
container->GetFirstRadioButton(name) != this) {
|
||||
if (container->GetCurrentRadioButton(name)) {
|
||||
*aTabIndex = -1;
|
||||
}
|
||||
*aIsFocusable = defaultFocusable;
|
||||
|
||||
Reference in New Issue
Block a user