diff options
Diffstat (limited to 'testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html')
-rw-r--r-- | testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html b/testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html new file mode 100644 index 0000000000..078ce29cc0 --- /dev/null +++ b/testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html @@ -0,0 +1,24 @@ +<!doctype html> +<title>Historical HTMLElement features</title> +<script src=/resources/testharness.js></script> +<script src=/resources/testharnessreport.js></script> +<body> +<script> +[ + // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa92427bc + "commandType", + "commandLabel", + "commandIcon", + "commandHidden", + "commandDisabled", + "commandChecked", + "commandTriggers", + // https://github.com/whatwg/html/pull/2402 + "dropzone", +].forEach(function(member) { + test(function() { + assert_false(member in document.body); + assert_false(member in document.createElement('div')); + }, 'HTMLElement member must be nuked: ' + member); +}); +</script> |