summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1003425-2.html
blob: ee25ca1ab3b8cce66796368491183617dceae870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html class="reftest-wait">
<style>
div {
  width: 500px;
  height: 500px;
  opacity: 0.5;
  background-color: lime;
}
</style>
<div id="d"></div>
<script>
function doTest() {
  document.getElementById("d").style.opacity = 1;
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>