aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-08-26 15:14:35 -0400
committerJosh Matthews <josh@joshmatthews.net>2013-08-26 15:14:35 -0400
commit7e9caddb391d68bcb678191887fba4d55a2be57a (patch)
treeb9947d8e9e10e997afb94cd168be088943ed5b30 /src/components/script/html
parentf68639755d6c0ddc0e1093c2bdec02501aaedf6f (diff)
downloadservo-7e9caddb391d68bcb678191887fba4d55a2be57a.tar.gz
servo-7e9caddb391d68bcb678191887fba4d55a2be57a.zip
Generate bindings for HTMLDirectoryElement and HTMLEmbedElement
Diffstat (limited to 'src/components/script/html')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index 4fd44fbd54b..2268b2e2ae5 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -7,10 +7,10 @@ use dom::element::{HTMLElementTypeId,
HTMLAreaElementTypeId, HTMLBaseElementTypeId, HTMLBodyElementTypeId,
HTMLBRElementTypeId, HTMLButtonElementTypeId, HTMLCanvasElementTypeId,
HTMLDataElementTypeId, HTMLDataListElementTypeId, HTMLDivElementTypeId,
- HTMLDListElementTypeId, HTMLFontElementTypeId, HTMLFormElementTypeId,
- HTMLHRElementTypeId, HTMLHeadElementTypeId, HTMLHtmlElementTypeId,
- HTMLImageElementTypeId, HTMLIframeElementTypeId, HTMLInputElementTypeId,
- HTMLLinkElementTypeId, HTMLLIElementTypeId,
+ HTMLDirectoryElementTypeId, HTMLDListElementTypeId, HTMLFontElementTypeId,
+ HTMLFormElementTypeId, HTMLHRElementTypeId, HTMLHeadElementTypeId,
+ HTMLHtmlElementTypeId, HTMLImageElementTypeId, HTMLIframeElementTypeId,
+ HTMLInputElementTypeId, HTMLLinkElementTypeId, HTMLLIElementTypeId,
HTMLMetaElementTypeId, HTMLOListElementTypeId, HTMLOptionElementTypeId,
HTMLParagraphElementTypeId, HTMLProgressElementTypeId,
HTMLQuoteElementTypeId, HTMLScriptElementTypeId,
@@ -38,6 +38,7 @@ use dom::htmlbuttonelement::HTMLButtonElement;
use dom::htmlcanvaselement::HTMLCanvasElement;
use dom::htmldataelement::HTMLDataElement;
use dom::htmldatalistelement::HTMLDataListElement;
+use dom::htmldirectoryelement::HTMLDirectoryElement;
use dom::htmldlistelement::HTMLDListElement;
use dom::htmlhrelement::HTMLHRElement;
use dom::htmliframeelement::{IFrameSize, HTMLIFrameElement};
@@ -252,6 +253,7 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView>
handle_element!(cx, tag, "canvas", HTMLCanvasElementTypeId, HTMLCanvasElement, []);
handle_element!(cx, tag, "data", HTMLDataElementTypeId, HTMLDataElement, []);
handle_element!(cx, tag, "datalist",HTMLDataListElementTypeId, HTMLDataListElement, []);
+ handle_element!(cx, tag, "directory",HTMLDirectoryElementTypeId, HTMLDirectoryElement, []);
handle_element!(cx, tag, "div", HTMLDivElementTypeId, HTMLDivElement, []);
handle_element!(cx, tag, "dl", HTMLDListElementTypeId, HTMLDListElement, []);
handle_element!(cx, tag, "font", HTMLFontElementTypeId, HTMLFontElement, []);