summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/getElementsByClassName-07.htm
blob: b0102fb2e6a3cb4157e94bc9d74331414505ab6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<html>
 <head>
  <title>document.getElementsByClassName(): multiple classes</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\t\f\n\na\rb"), [document.body]);
               })
  </script>
 </body>
</html>