OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <title>Historical HTMLElement features</title> | 2 <title>Historical HTMLElement features</title> |
3 <script src=/resources/testharness.js></script> | 3 <script src=/resources/testharness.js></script> |
4 <script src=/resources/testharnessreport.js></script> | 4 <script src=/resources/testharnessreport.js></script> |
5 <body> | 5 <body> |
6 <script> | 6 <script> |
7 [ | 7 [ |
8 // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa9242
7bc | 8 // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa9242
7bc |
9 "commandType", | 9 "commandType", |
10 "commandLabel", | 10 "commandLabel", |
11 "commandIcon", | 11 "commandIcon", |
12 "commandHidden", | 12 "commandHidden", |
13 "commandDisabled", | 13 "commandDisabled", |
14 "commandChecked", | 14 "commandChecked", |
15 "commandTriggers", | 15 "commandTriggers", |
16 // https://github.com/whatwg/html/pull/2402 | 16 // https://github.com/whatwg/html/pull/2402 |
17 "dropzone", | 17 "dropzone", |
18 // https://github.com/whatwg/html/commit/5ddfc78b1f82e86cc202d72ccc752a0e15f1e
4ad | |
19 "inert", | |
20 ].forEach(function(member) { | 18 ].forEach(function(member) { |
21 test(function() { | 19 test(function() { |
22 assert_false(member in document.body); | 20 assert_false(member in document.body); |
23 assert_false(member in document.createElement('div')); | 21 assert_false(member in document.createElement('div')); |
24 }, 'HTMLElement member must be nuked: ' + member); | 22 }, 'HTMLElement member must be nuked: ' + member); |
25 }); | 23 }); |
26 </script> | 24 </script> |
OLD | NEW |