Backed out changeset 241b4b54e654 (bug 1824374) for causing failures at popover-invoking-attribute.html.

This commit is contained in:
Butkovits Atila
2023-04-17 23:44:22 +03:00
parent b8266c0e4e
commit 45f9b533bd
4 changed files with 5 additions and 18 deletions

View File

@@ -4083,10 +4083,7 @@ nsresult HTMLInputElement::PostHandleEvent(EventChainPostVisitor& aVisitor) {
default:
break;
} // switch
if (IsButtonControl()) {
HandlePopoverTargetAction();
}
} // click or outer activate event
} // click or outer activate event
} else if ((aVisitor.mItemFlags & NS_IN_SUBMIT_CLICK) &&
(oldType == FormControlType::InputSubmit ||
oldType == FormControlType::InputImage)) {