Home | History | Annotate | Download | only in getElementsByClassName
      1 <!doctype html>
      2 <html class="a
      3 b">
      4  <head>
      5   <title>document.getElementsByClassName(): also simple</title>
      6   <script src="resources/common.js"></script>
      7  </head>
      8  <body class="a
      9 ">
     10   <p id="r">FAIL (script did not run)</p>
     11   <script> t(document.getElementsByClassName("a\n"), [document.documentElement, document.body]) </script>
     12  </body>
     13 </html>
     14