OLD | NEW |
| (Empty) |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | |
2 <head> | |
3 <title>getElementsByName and case</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-gete
lementsbyname"/> | |
6 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"/> | |
7 <script src="../../../../../../../resources/testharness.js"></script> | |
8 <script src="../../../../../../../resources/testharnessreport.js"></script> | |
9 </head> | |
10 <body> | |
11 <div id="log"></div> | |
12 <div id="test"> | |
13 <div name="abcd"></div> | |
14 </div> | |
15 <script> | |
16 test(function() { | |
17 assert_equals(document.getElementsByName("ABCD").length, 0); | |
18 assert_equals(document.getElementsByName("abcd").length, 1); | |
19 }); | |
20 </script> | |
21 </body> | |
22 </html> | |
OLD | NEW |