summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1003425-1.html
blob: 0428d5df724af082d3b37b71414a6425ad07e230 (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;
  box-shadow: 0 0 40px #000;
}
</style>
<div id="d"></div>
<script>
function doTest() {
  document.getElementById("d").style.opacity = 1;
  document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>