diff options
author | Patrick Shaughnessy <pshaughn@comcast.net> | 2020-01-22 20:15:42 -0500 |
---|---|---|
committer | Patrick Shaughnessy <pshaughn@comcast.net> | 2020-01-23 18:04:48 -0500 |
commit | c1a23a85b2a4f0e53d2d58de64adfee4be7fb30b (patch) | |
tree | 90c027c89619e72cca717f1808c10a32e5cf9b27 /components/script/dom/create.rs | |
parent | 2b77a992dba0547180b9bfd89a015556f8a51ba5 (diff) | |
download | servo-c1a23a85b2a4f0e53d2d58de64adfee4be7fb30b.tar.gz servo-c1a23a85b2a4f0e53d2d58de64adfee4be7fb30b.zip |
Implement HTMLMenuElement
Diffstat (limited to 'components/script/dom/create.rs')
-rw-r--r-- | components/script/dom/create.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/create.rs b/components/script/dom/create.rs index c45e4286992..d67550ee47f 100644 --- a/components/script/dom/create.rs +++ b/components/script/dom/create.rs @@ -46,6 +46,7 @@ use crate::dom::htmllegendelement::HTMLLegendElement; use crate::dom::htmllielement::HTMLLIElement; use crate::dom::htmllinkelement::HTMLLinkElement; use crate::dom::htmlmapelement::HTMLMapElement; +use crate::dom::htmlmenuelement::HTMLMenuElement; use crate::dom::htmlmetaelement::HTMLMetaElement; use crate::dom::htmlmeterelement::HTMLMeterElement; use crate::dom::htmlmodelement::HTMLModElement; @@ -309,6 +310,7 @@ pub fn create_native_html_element( local_name!("map") => make!(HTMLMapElement), local_name!("mark") => make!(HTMLElement), local_name!("marquee") => make!(HTMLElement), + local_name!("menu") => make!(HTMLMenuElement), local_name!("meta") => make!(HTMLMetaElement), local_name!("meter") => make!(HTMLMeterElement), // https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:multicol |