mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
HTML - implement the labels attribute
This commit is contained in:
parent
91e5a3a71e
commit
5b24f05ce7
25 changed files with 516 additions and 95 deletions
|
|
@ -128,9 +128,12 @@ is(typeof(document.createElement("button").setCustomValidity), "function",
|
|||
"button.setCustomValidity should be a function");
|
||||
|
||||
// .labels
|
||||
todo("labels" in document.createElement("button"),
|
||||
"button.labels isn't implemented yet");
|
||||
|
||||
ok("labels" in document.createElement("button"),
|
||||
"button.labels should be an IDL attribute of the button element");
|
||||
is(typeof(document.createElement("button").labels), "object",
|
||||
"button.labels should be an object");
|
||||
ok(document.createElement("button").labels instanceof NodeList,
|
||||
"button.labels sohuld be an instance of NodeList");
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue