зеркало из https://github.com/mozilla/gecko-dev.git
30 строки
676 B
HTML
30 строки
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> |