Backed out changeset 5431daa798c7 (bug 1871424) for causing Bug 1873472

This commit is contained in:
Narcis Beleuzu
2024-01-12 11:52:07 +02:00
parent 668f39b429
commit daaf82679b
4 changed files with 13 additions and 30 deletions

View File

@@ -3174,10 +3174,6 @@ void HTMLInputElement::GetEventTargetParent(EventChainPreVisitor& aVisitor) {
if (CheckActivationBehaviorPreconditions(aVisitor)) {
aVisitor.mWantsActivationBehavior = true;
// XXXedgar: This is a temporary hack for elements, like <a>, which have not
// yet adopted the activation behavior defined in the specification. This
// should be removed after resolving bug 1851970.
aVisitor.mEvent->mFlags.mMultipleActivationPrevented = true;
}
// We must cache type because mType may change during JS event (bug 2369)