diff options
author | Ms2ger <ms2ger@gmail.com> | 2013-11-02 12:58:32 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2013-11-02 12:58:32 +0100 |
commit | f81ed712a8e2aefc7e37f168bb4f988dba14865a (patch) | |
tree | ce24c67d626b367d439d205f93cf304fdf08c974 /src/components/script/html/hubbub_html_parser.rs | |
parent | 0113717d24e743114c47baab48aa9c7005d42bda (diff) | |
download | servo-f81ed712a8e2aefc7e37f168bb4f988dba14865a.tar.gz servo-f81ed712a8e2aefc7e37f168bb4f988dba14865a.zip |
Introduce HTMLDataListElement::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 3672cc9f587..4c9c1770eaa 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -218,7 +218,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum handle_element!(cx, document, tag, "button", HTMLButtonElementTypeId, HTMLButtonElement, []); handle_element!(cx, document, tag, "canvas", HTMLCanvasElementTypeId, HTMLCanvasElement, []); handle_element!(cx, document, tag, "data", HTMLDataElementTypeId, HTMLDataElement, []); - handle_element!(cx, document, tag, "datalist",HTMLDataListElementTypeId, HTMLDataListElement, []); handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement); handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement); @@ -230,6 +229,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum handle_newable_element!(document, tag, "caption", HTMLTableCaptionElement); handle_newable_element!(document, tag, "col", HTMLTableColElement); handle_newable_element!(document, tag, "colgroup", HTMLTableColElement); + handle_newable_element!(document, tag, "datalist", HTMLDataListElement); handle_newable_element!(document, tag, "del", HTMLModElement); handle_newable_element!(document, tag, "dir", HTMLDirectoryElement); handle_newable_element!(document, tag, "div", HTMLDivElement); |