summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/830192-1.html
blob: 833cd796a26623475bf09e98160ee983f74f82f5 (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
<!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);
</script>
</body>
</html>