summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/830192-1.html
blob: 2a9183a20dcb232ee0ea5d7d09d2a55ada41ff53 (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, false);
</script>
</body>
</html>