Home | History | Annotate | Download | only in getElementsByClassName
      1 <html class="a">
      2  <head>
      3   <title>document.getElementsByClassName(): live updating</title>
      4   <script src="resources/common.js"></script>
      5  </head>
      6  <body class="a">
      7   <p id="r">FAIL (script did not run)</p>
      8   <script>
      9     var elms = document.getElementsByClassName("a");
     10     elms[1].className = "";
     11     t(elms, [document.documentElement]);
     12   </script>
     13  </body>
     14 </html>
     15