diff options
author | Ms2ger <ms2ger@gmail.com> | 2013-11-02 18:44:20 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2013-11-02 18:44:20 +0100 |
commit | f15620313a9365f35271812a2c2fac997fd11734 (patch) | |
tree | b6b95a9556e0ea3d45a0379ba3e05722075de9dc /src/components/script/html/hubbub_html_parser.rs | |
parent | 05162f16aae0f5f26e67416e4deeef65ff04bd1d (diff) | |
download | servo-f15620313a9365f35271812a2c2fac997fd11734.tar.gz servo-f15620313a9365f35271812a2c2fac997fd11734.zip |
Introduce HTMLAppletElement::new.
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 462e8faeca2..9a8dab73e21 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -210,7 +210,6 @@ fn js_script_listener(to_parent: SharedChan<HtmlDiscoveryMessage>, pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocument) -> AbstractNode<ScriptView> { // TODO (Issue #85): use atoms handle_element!(cx, document, tag, "a", HTMLAnchorElementTypeId, HTMLAnchorElement, []); - handle_element!(cx, document, tag, "applet", HTMLAppletElementTypeId, HTMLAppletElement, []); handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement); handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement); @@ -218,6 +217,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum handle_htmlelement!(cx, document, tag, "section", HTMLElementTypeId, HTMLElement); handle_htmlelement!(cx, document, tag, "small", HTMLElementTypeId, HTMLElement); + handle_newable_element!(document, tag, "applet", HTMLAppletElement); handle_newable_element!(document, tag, "area", HTMLAreaElement); handle_newable_element!(document, tag, "audio", HTMLAudioElement); handle_newable_element!(document, tag, "base", HTMLBaseElement); |