mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 01:31:34 +00:00
Add unit tests for more 'web-sys' HTML bindings (#617)
That list includes: * HtmlOptionElement * HtmlOptGroupElement * HtmlOListElement * HtmlModElement
This commit is contained in:
committed by
Alex Crichton
parent
4a78769349
commit
d47fc61c36
@ -14,6 +14,10 @@ export function new_button() {
|
||||
return document.createElement("button");
|
||||
}
|
||||
|
||||
export function new_del() {
|
||||
return document.createElement("del");
|
||||
}
|
||||
|
||||
export function new_div() {
|
||||
return document.createElement("div");
|
||||
}
|
||||
@ -22,6 +26,10 @@ export function new_form() {
|
||||
return document.createElement("form");
|
||||
}
|
||||
|
||||
export function new_food_options_collection() {
|
||||
return new_select_with_food_opts().options;
|
||||
}
|
||||
|
||||
export function new_head() {
|
||||
return document.createElement("head");
|
||||
}
|
||||
@ -42,8 +50,16 @@ export function new_input() {
|
||||
return document.createElement("input");
|
||||
}
|
||||
|
||||
export function new_food_options_collection() {
|
||||
return new_select_with_food_opts().options;
|
||||
export function new_ins() {
|
||||
return document.createElement("ins");
|
||||
}
|
||||
|
||||
export function new_olist() {
|
||||
return document.createElement("ol");
|
||||
}
|
||||
|
||||
export function new_optgroup() {
|
||||
return document.createElement("optgroup");
|
||||
}
|
||||
|
||||
export function new_output() {
|
||||
|
Reference in New Issue
Block a user