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