tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

getElementsByClassName-10.xml (594B)


      1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:g="http://www.w3.org/2000/svg">
      2 <head>
      3  <title>document.getElementsByClassName(): compound</title>
      4  <script src="/resources/testharness.js"></script>
      5  <script src="/resources/testharnessreport.js"></script>
      6 </head>
      7 <body>
      8  <div id="log"/>
      9  <div id="tests">
     10    <x class="a"/>
     11    <g:x class="a"/>
     12  </div>
     13  <script>test(function() {
     14                 assert_array_equals(document.getElementsByClassName("a"),
     15                                     document.getElementById("tests").children);
     16               })
     17  </script>
     18 </body>
     19 </html>