<!DOCTYPE HTML> <html class="reftest-wait"><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style> table { border-right: solid 16px gold; } a { font-family: sans-serif; padding: 2px; } a:hover { color: red; } </style> <script> function doTest() { var s1 = document.getElementById("target"); s1.style.color="red" document.documentElement.removeAttribute('class'); } document.addEventListener("MozReftestInvalidate", doTest, false); </script> </head><body> <table cellpadding="4" rules="rows"> <tbody><tr> <td><a href="#" id ="target"> move mouse over this text </a></td> <td></td> </tr> </tbody></table> </body></html>