aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2013-11-01 23:12:56 +0100
committerMs2ger <ms2ger@gmail.com>2013-11-01 23:12:56 +0100
commit3b58858c7e058ad37cf121e2b33fadbaa5e96bbf (patch)
tree8ac6f386330ee8dfd599d174186984bc008452c3 /src/components/script/html/hubbub_html_parser.rs
parent9afab1807a156240efecb107040876de709e3bf7 (diff)
downloadservo-3b58858c7e058ad37cf121e2b33fadbaa5e96bbf.tar.gz
servo-3b58858c7e058ad37cf121e2b33fadbaa5e96bbf.zip
Introduce HTMLLIElement::new.
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index fa760f7edac..902d754d936 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -235,7 +235,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_element!(cx, document, tag, "label", HTMLLabelElementTypeId, HTMLLabelElement, []);
handle_element!(cx, document, tag, "legend", HTMLLegendElementTypeId, HTMLLegendElement, []);
handle_element!(cx, document, tag, "link", HTMLLinkElementTypeId, HTMLLinkElement, []);
- handle_element!(cx, document, tag, "li", HTMLLIElementTypeId, HTMLLIElement, []);
handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement);
handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement);
@@ -257,6 +256,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_newable_element!(document, tag, "iframe", HTMLIFrameElement);
handle_newable_element!(document, tag, "img", HTMLImageElement);
handle_newable_element!(document, tag, "ins", HTMLModElement);
+ handle_newable_element!(document, tag, "li", HTMLLIElement);
handle_newable_element!(document, tag, "main", HTMLMainElement);
handle_newable_element!(document, tag, "map", HTMLMapElement);
handle_newable_element!(document, tag, "meta", HTMLMetaElement);