aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2013-11-01 22:36:17 +0100
committerMs2ger <ms2ger@gmail.com>2013-11-01 22:36:17 +0100
commitdb3515240a34208c59a967cf27e64fa43819eb4e (patch)
tree88ca883e8833382a181221ec9a0fa9b9c8896c7f /src/components/script/html/hubbub_html_parser.rs
parent5cfa70c769aa99a7cf2bf7d7570b43172619a06d (diff)
downloadservo-db3515240a34208c59a967cf27e64fa43819eb4e.tar.gz
servo-db3515240a34208c59a967cf27e64fa43819eb4e.zip
Introduce HTMLMeterElement::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 9f32636ecad..8811640ea92 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -239,7 +239,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_element!(cx, document, tag, "map", HTMLMapElementTypeId, HTMLMapElement, []);
handle_element!(cx, document, tag, "main", HTMLMainElementTypeId, HTMLMainElement, []);
handle_element!(cx, document, tag, "meta", HTMLMetaElementTypeId, HTMLMetaElement, []);
- handle_element!(cx, document, tag, "meter", HTMLMeterElementTypeId, HTMLMeterElement, []);
handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement);
handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement);
@@ -261,6 +260,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, "meter", HTMLMeterElement);
handle_newable_element!(document, tag, "object", HTMLObjectElement);
handle_newable_element!(document, tag, "ol", HTMLOListElement);
handle_newable_element!(document, tag, "optgroup", HTMLOptGroupElement);