gecko-dev/layout/reftests/bugs/296361-1.html

30 lines
676 B
HTML

<!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: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>