diff options
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r-- | src/components/script/html/hubbub_html_parser.rs | 2 |
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 8ababab95d5..2a0632dcce2 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -241,7 +241,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum handle_element!(cx, document, tag, "meta", HTMLMetaElementTypeId, HTMLMetaElement, []); handle_element!(cx, document, tag, "meter", HTMLMeterElementTypeId, HTMLMeterElement, []); handle_element!(cx, document, tag, "mod", HTMLModElementTypeId, HTMLModElement, []); - handle_element!(cx, document, tag, "object", HTMLObjectElementTypeId, HTMLObjectElement, []); 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, "h6", HTMLHeadingElement, Heading6); handle_newable_element!(document, tag, "iframe", HTMLIFrameElement); handle_newable_element!(document, tag, "img", HTMLImageElement); + handle_newable_element!(document, tag, "object", HTMLObjectElement); handle_newable_element!(document, tag, "ol", HTMLOListElement); handle_newable_element!(document, tag, "optgroup", HTMLOptGroupElement); handle_newable_element!(document, tag, "option", HTMLOptionElement); |