nameditem-03.html (682B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>Named items: applets</title> 4 <link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"> 5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-nameditem"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <div id="log"></div> 9 <applet name=test1></applet> 10 <script> 11 test(function() { 12 var applet = document.getElementsByTagName("applet")[0]; 13 assert_equals(applet.name, undefined); 14 15 assert_false("test1" in document, '"test1" in document should be false'); 16 assert_equals(document.test1, undefined); 17 }, "applet elements are (mostly) gone"); 18 </script>