summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/296361-1.html
blob: 6579b01d4262a704906851a01c731713c5a3e29c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!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>