mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Generate bindings for HTMLDirectoryElement and HTMLEmbedElement
This commit is contained in:
parent
f68639755d
commit
7e9caddb39
10 changed files with 179 additions and 13 deletions
|
@ -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, []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue