Backed out changeset d030d5dc991d (bug 1824374) for causing popover related wpt failures.

This commit is contained in:
Cosmin Sabou
2023-04-15 20:05:46 +03:00
parent 3b6136d86a
commit 9f788e683a
5 changed files with 1013 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)) {