summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/zero-opacity-animation.html
blob: 5aba74795f9454e6ed8dbb1865629bd6357463ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div style="opacity:0">
  <div id="d" class="reftest-no-paint" style="height:50px; border:2px solid black"></div>
</div>
<script type="application/javascript">
function doTest() {
  d.style.border = "2px solid green";
  document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>