mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
8ee4018a47
--HG-- extra : rebase_source : 4d9bd92b23b1011a8ffba33d009615eb7f42a8a7
32 lines
526 B
HTML
32 lines
526 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
.test {
|
|
position:fixed;
|
|
display:none;
|
|
width:100px; height:100px;
|
|
background:yellow;
|
|
}
|
|
.doTest .test {
|
|
display:block;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr style="transform:translate(10px,0)">
|
|
<td>
|
|
<div class="test"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<script>
|
|
function doTest() {
|
|
document.documentElement.setAttribute("class", "doTest");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest, false);
|
|
</script>
|
|
</body>
|
|
</html>
|