summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/getElementsByClassName-01.htm
blob: 457d6c400f4ef27e6ec4420774cd6fb71a6ccfae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<html class="a">
 <head>
  <title>document.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.getElementsByClassName("\ta\n"),
                                                [document.documentElement, document.body])}) </script>
 </body>
</html>