diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-08-18 06:04:15 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-12 09:59:19 +0100 |
commit | e0fcc4be4f0a5d80c66b1dd2b723a9a662c97e82 (patch) | |
tree | 5f0a9188256213506d1f2477d9ee1040b133c762 /dom/html/test | |
parent | f633b8a33a342645f9d545d53d258c8ea797bb15 (diff) | |
download | uxp-e0fcc4be4f0a5d80c66b1dd2b723a9a662c97e82.tar.gz |
HTML - implement the labels attribute
Diffstat (limited to 'dom/html/test')
-rw-r--r-- | dom/html/test/forms/test_button_attributes_reflection.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dom/html/test/forms/test_button_attributes_reflection.html b/dom/html/test/forms/test_button_attributes_reflection.html index 26858e939b..4e702b3ac6 100644 --- a/dom/html/test/forms/test_button_attributes_reflection.html +++ b/dom/html/test/forms/test_button_attributes_reflection.html @@ -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> |