diff options
author | athenian200 <athenian200@outlook.com> | 2020-05-21 01:31:48 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-05-21 01:31:48 -0500 |
commit | 0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9 (patch) | |
tree | a718c93bec7faed8e7da1a11c5ecafac43b6d571 /dom/html/HTMLFieldSetElement.h | |
parent | a965486fcbf3f199b5c7564bfc0526df72c862d5 (diff) | |
download | UXP-0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9.tar UXP-0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9.tar.gz UXP-0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9.tar.lz UXP-0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9.tar.xz UXP-0a19762d3bb5f6bcaa00a8f168e469d9fdda76b9.zip |
Issue #1557 - Allow event dispatch on disabled form controls.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=329509
This seems to resolve #1356 without causing #1557.
Also reverts previous changes as they no longer appear to serve a purpose.
Diffstat (limited to 'dom/html/HTMLFieldSetElement.h')
-rw-r--r-- | dom/html/HTMLFieldSetElement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/HTMLFieldSetElement.h b/dom/html/HTMLFieldSetElement.h index 2c0e9cc14..7f10e4a5b 100644 --- a/dom/html/HTMLFieldSetElement.h +++ b/dom/html/HTMLFieldSetElement.h @@ -55,7 +55,7 @@ public: NS_IMETHOD_(uint32_t) GetType() const override { return NS_FORM_FIELDSET; } NS_IMETHOD Reset() override; NS_IMETHOD SubmitNamesValues(HTMLFormSubmission* aFormSubmission) override; - virtual bool IsDisabledForEvents(EventMessage aMessage) override; + virtual bool IsDisabledForEvents(WidgetEvent* aEvent) override; virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const override; const nsIContent* GetFirstLegend() const { return mFirstLegend; } |