mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Introduce HTMLInputElement::new.
This commit is contained in:
parent
b592742b25
commit
1f4cc4182e
2 changed files with 18 additions and 1 deletions
|
@ -231,7 +231,6 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
|
|||
handle_element!(cx, document, tag, "hr", HTMLHRElementTypeId, HTMLHRElement, []);
|
||||
handle_element!(cx, document, tag, "head", HTMLHeadElementTypeId, HTMLHeadElement, []);
|
||||
handle_element!(cx, document, tag, "html", HTMLHtmlElementTypeId, HTMLHtmlElement, []);
|
||||
handle_element!(cx, document, tag, "input", HTMLInputElementTypeId, HTMLInputElement, []);
|
||||
|
||||
handle_htmlelement!(cx, document, tag, "aside", HTMLElementTypeId, HTMLElement);
|
||||
handle_htmlelement!(cx, document, tag, "b", HTMLElementTypeId, HTMLElement);
|
||||
|
@ -252,6 +251,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
|
|||
handle_newable_element!(document, tag, "h6", HTMLHeadingElement, Heading6);
|
||||
handle_newable_element!(document, tag, "iframe", HTMLIFrameElement);
|
||||
handle_newable_element!(document, tag, "img", HTMLImageElement);
|
||||
handle_newable_element!(document, tag, "input", HTMLInputElement);
|
||||
handle_newable_element!(document, tag, "ins", HTMLModElement);
|
||||
handle_newable_element!(document, tag, "label", HTMLLabelElement);
|
||||
handle_newable_element!(document, tag, "legend", HTMLLegendElement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue