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