Bug 1851970 - Part 2: Activation behavior method for links. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D183991
This commit is contained in:
@@ -625,6 +625,15 @@ nsresult nsGenericHTMLElement::PostHandleEventForAnchors(
|
||||
return PostHandleEventForLinks(aVisitor);
|
||||
}
|
||||
|
||||
void nsGenericHTMLElement::ActivationBehaviorForAnchors(
|
||||
EventChainPostVisitor& aVisitor) {
|
||||
if (!CheckHandleEventForAnchorsPreconditions(aVisitor)) {
|
||||
return;
|
||||
}
|
||||
|
||||
return ActivationBehaviorForLinks(aVisitor);
|
||||
}
|
||||
|
||||
bool nsGenericHTMLElement::IsHTMLLink(nsIURI** aURI) const {
|
||||
MOZ_ASSERT(aURI, "Must provide aURI out param");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user