summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/getElementsByClassName-14.htm
blob: 77de16298a5d4ca19d9284d53ebefe74d8bc32d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- quirks mode -->
<html class="a A">
 <head>
  <title>document.getElementsByClassName(): case-insensitive (quirks mode)</title>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
 </head>
 <body class="a a">
  <div id="log"></div>
  <script>test(function() {
             assert_array_equals(document.getElementsByClassName("A a"),
                                 [document.documentElement, document.body]);
          })
  </script>
 </body>
</html>