Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-case.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>getElementsByName and case</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<div id="test">
<div name="abcd"></div>
</div>
<script>
test(function() {
assert_equals(document.getElementsByName("ABCD").length, 0);
assert_equals(document.getElementsByName("abcd").length, 1);
});
</script>