aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/svgelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/svgelement.rs')
-rw-r--r--components/script/dom/svgelement.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/svgelement.rs b/components/script/dom/svgelement.rs
index 9c8b990826d..0f36d942f3e 100644
--- a/components/script/dom/svgelement.rs
+++ b/components/script/dom/svgelement.rs
@@ -82,6 +82,9 @@ impl SVGElementMethods<crate::DomTypeHolder> for SVGElement {
})
}
+ // <https://html.spec.whatwg.org/multipage/#globaleventhandlers>
+ global_event_handlers!();
+
// FIXME: The nonce should be stored in an internal slot instead of an
// attribute (https://html.spec.whatwg.org/multipage/#cryptographicnonce)
// https://html.spec.whatwg.org/multipage/#dom-noncedelement-nonce