summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/dom/elements/elements-in-the-dom/historical.html
blob: 078ce29cc029bd51554d839ff4dc792a78cc8371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>