aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-08-26 12:29:07 -0400
committerJosh Matthews <josh@joshmatthews.net>2013-08-26 12:29:07 -0400
commitb36ae3b0dfe83d55c2776ae7fd1142cdf3bad16c (patch)
treeae8ae43d22b1ee23ba710f10e103556fcb14574f /src/components/script/html/hubbub_html_parser.rs
parent5647ca696667f1663f55a46dc51060322c1e98a4 (diff)
downloadservo-b36ae3b0dfe83d55c2776ae7fd1142cdf3bad16c.tar.gz
servo-b36ae3b0dfe83d55c2776ae7fd1142cdf3bad16c.zip
Generate bindings for HTMLButtonElement.
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 8ed87121667..69ae559ef57 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -5,8 +5,8 @@
use dom::element::{HTMLElementTypeId,
HTMLAnchorElementTypeId, HTMLAppletElementTypeId,
HTMLAreaElementTypeId, HTMLBaseElementTypeId, HTMLBodyElementTypeId,
- HTMLBRElementTypeId, HTMLCanvasElementTypeId, HTMLDataElementTypeId,
- HTMLDivElementTypeId, HTMLDListElementTypeId,
+ HTMLBRElementTypeId, HTMLButtonElementTypeId, HTMLCanvasElementTypeId,
+ HTMLDataElementTypeId, HTMLDivElementTypeId, HTMLDListElementTypeId,
HTMLFontElementTypeId, HTMLFormElementTypeId, HTMLHRElementTypeId,
HTMLHeadElementTypeId, HTMLHtmlElementTypeId,
HTMLImageElementTypeId, HTMLIframeElementTypeId, HTMLInputElementTypeId,
@@ -34,6 +34,7 @@ use dom::htmlappletelement::HTMLAppletElement;
use dom::htmlareaelement::HTMLAreaElement;
use dom::htmlbaseelement::HTMLBaseElement;
use dom::htmlbodyelement::HTMLBodyElement;
+use dom::htmlbuttonelement::HTMLButtonElement;
use dom::htmlcanvaselement::HTMLCanvasElement;
use dom::htmldataelement::HTMLDataElement;
use dom::htmldlistelement::HTMLDListElement;
@@ -246,6 +247,7 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView>
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, "button", HTMLButtonElementTypeId, HTMLButtonElement, []);
handle_element!(cx, tag, "canvas", HTMLCanvasElementTypeId, HTMLCanvasElement, []);
handle_element!(cx, tag, "data", HTMLDataElementTypeId, HTMLDataElement, []);
handle_element!(cx, tag, "div", HTMLDivElementTypeId, HTMLDivElement, []);