Bug 1658996 - Part 2: Activation behavior method for non-form submission input elements. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D183988
This commit is contained in:
@@ -182,6 +182,11 @@ class HTMLInputElement final : public TextControlElement,
|
||||
nsMapRuleToAttributesFunc GetAttributeMappingFunction() const override;
|
||||
|
||||
void GetEventTargetParent(EventChainPreVisitor& aVisitor) override;
|
||||
void LegacyPreActivationBehavior(EventChainVisitor& aVisitor) override;
|
||||
MOZ_CAN_RUN_SCRIPT
|
||||
void ActivationBehavior(EventChainPostVisitor& aVisitor) override;
|
||||
void LegacyCanceledActivationBehavior(
|
||||
EventChainPostVisitor& aVisitor) override;
|
||||
MOZ_CAN_RUN_SCRIPT_BOUNDARY
|
||||
nsresult PreHandleEvent(EventChainVisitor& aVisitor) override;
|
||||
MOZ_CAN_RUN_SCRIPT_BOUNDARY
|
||||
@@ -1615,6 +1620,8 @@ class HTMLInputElement final : public TextControlElement,
|
||||
aType == FormControlType::InputNumber;
|
||||
}
|
||||
|
||||
bool CheckActivationBehaviorPreconditions(EventChainVisitor& aVisitor) const;
|
||||
|
||||
/**
|
||||
* Fire an event when the password input field is removed from the DOM tree.
|
||||
* This is now only used by the password manager.
|
||||
|
||||
Reference in New Issue
Block a user