зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
426 B
HTML
23 строки
426 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<title>table-repaint-a</title>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td bgcolor="black"></td>
|
|
<td bgcolor="lime"></td>
|
|
</tr>
|
|
</table>
|
|
<script>
|
|
function foo() {
|
|
var x=document.getElementsByTagName('td')[0];
|
|
x.style.display = 'none';
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
document.addEventListener("MozReftestInvalidate", foo, false);
|
|
</script>
|
|
</body>
|
|
</html>
|