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