Introduce HTMLDirectoryElement::new.

This commit is contained in:
Ms2ger 2013-11-02 12:53:45 +01:00
parent 4d7b0a5e52
commit 0113717d24
2 changed files with 18 additions and 1 deletions

View file

@ -219,7 +219,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
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_element!(cx, document, tag, "dir", HTMLDirectoryElementTypeId, HTMLDirectoryElement, []);
handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement);
handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement);
@ -232,6 +231,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_newable_element!(document, tag, "col", HTMLTableColElement);
handle_newable_element!(document, tag, "colgroup", HTMLTableColElement);
handle_newable_element!(document, tag, "del", HTMLModElement);
handle_newable_element!(document, tag, "dir", HTMLDirectoryElement);
handle_newable_element!(document, tag, "div", HTMLDivElement);
handle_newable_element!(document, tag, "dl", HTMLDListElement);
handle_newable_element!(document, tag, "embed", HTMLEmbedElement);