aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorJunyoung Cho <june0.cho@samsung.com>2013-08-09 18:19:16 +0900
committerJosh Matthews <josh@joshmatthews.net>2013-08-22 16:28:40 -0400
commit13bb1a49b8f96b39f302145eee2042e32b9d35e5 (patch)
tree92b286018598eb2551061efd74f30993e2ae0099 /src/components/script/html/hubbub_html_parser.rs
parente7b803866565c680fa406fcbf2c5fa346cbc310f (diff)
downloadservo-13bb1a49b8f96b39f302145eee2042e32b9d35e5.tar.gz
servo-13bb1a49b8f96b39f302145eee2042e32b9d35e5.zip
Generate bindings for HTMLBaseElement
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index 5182bbb1a00..fad0088555c 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -4,8 +4,8 @@
use dom::element::{HTMLElementTypeId,
HTMLAnchorElementTypeId, HTMLAppletElementTypeId,
- HTMLAreaElementTypeId, HTMLBRElementTypeId,
- HTMLBodyElementTypeId, HTMLCanvasElementTypeId, HTMLDivElementTypeId,
+ HTMLAreaElementTypeId, HTMLBaseElementTypeId, HTMLBodyElementTypeId,
+ HTMLBRElementTypeId, HTMLCanvasElementTypeId, HTMLDivElementTypeId,
HTMLDListElementTypeId,
HTMLFontElementTypeId, HTMLFormElementTypeId, HTMLHRElementTypeId,
HTMLHeadElementTypeId, HTMLHtmlElementTypeId,
@@ -31,6 +31,7 @@ use dom::htmlbrelement::HTMLBRElement;
use dom::htmlanchorelement::HTMLAnchorElement;
use dom::htmlappletelement::HTMLAppletElement;
use dom::htmlareaelement::HTMLAreaElement;
+use dom::htmlbaseelement::HTMLBaseElement;
use dom::htmlbodyelement::HTMLBodyElement;
use dom::htmlcanvaselement::HTMLCanvasElement;
use dom::htmldlistelement::HTMLDListElement;
@@ -233,6 +234,7 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView>
handle_element!(cx, tag, "a", HTMLAnchorElementTypeId, HTMLAnchorElement, []);
handle_element!(cx, tag, "applet", HTMLAppletElementTypeId, HTMLAppletElement, []);
handle_element!(cx, tag, "area", HTMLAreaElementTypeId, HTMLAreaElement, []);
+ handle_element!(cx, tag, "base", HTMLBaseElementTypeId, HTMLBaseElement, []);
handle_element!(cx, tag, "br", HTMLBRElementTypeId, HTMLBRElement, []);
handle_element!(cx, tag, "body", HTMLBodyElementTypeId, HTMLBodyElement, []);
handle_element!(cx, tag, "canvas", HTMLCanvasElementTypeId, HTMLCanvasElement, []);