https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e940b3ad8382b2a2d7f0faeb0385ed53eb15283b authored by Frédéric Wang on 11 September 2018, 08:14:16 UTC
Use document.scrollingElement to access scroll properties of the viewport
Tip revision: e940b3a
getElementsByClassName-16.htm
<!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>
back to top