mirror of
https://github.com/servo/servo.git
synced 2025-06-18 21:34:30 +00:00
Implement IDL based HTMLSmallElement binding
This commit is contained in:
parent
a9b6eb8ff1
commit
93fba253a2
5 changed files with 3 additions and 10 deletions
|
@ -225,7 +225,6 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView>
|
|||
handle_element!(cx, tag, "q", HTMLQuoteElementTypeId, HTMLQuoteElement, []);
|
||||
handle_element!(cx, tag, "script", HTMLScriptElementTypeId, HTMLScriptElement, []);
|
||||
handle_element!(cx, tag, "select", HTMLSelectElementTypeId, HTMLSelectElement, []);
|
||||
handle_element!(cx, tag, "small", HTMLSmallElementTypeId, HTMLSmallElement, []);
|
||||
handle_element!(cx, tag, "source", HTMLSourceElementTypeId, HTMLSourceElement, []);
|
||||
handle_element!(cx, tag, "span", HTMLSpanElementTypeId, HTMLSpanElement, []);
|
||||
handle_element!(cx, tag, "style", HTMLStyleElementTypeId, HTMLStyleElement, []);
|
||||
|
@ -256,6 +255,7 @@ fn build_element_from_tag(cx: *JSContext, tag: &str) -> AbstractNode<ScriptView>
|
|||
handle_htmlelement!(cx, tag, "b", HTMLElementTypeId, HTMLElement);
|
||||
handle_htmlelement!(cx, tag, "i", HTMLElementTypeId, HTMLElement);
|
||||
handle_htmlelement!(cx, tag, "section", HTMLElementTypeId, HTMLElement);
|
||||
handle_htmlelement!(cx, tag, "small", HTMLElementTypeId, HTMLElement);
|
||||
|
||||
unsafe {
|
||||
let element = @HTMLUnknownElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue