summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1436189-1.html
blob: 96c1dd2e233aae2a71d6a66fda089c8294330028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<body>
<div style="opacity:0.5" id="hi">
  <div style="position:fixed; width:200px; height:200px; background-color:blue"></div>
</div>

<script>

function doTest()
{
  var opacityElement = document.getElementById("hi");
  opacityElement.style.left = '100px';
  document.documentElement.removeAttribute("class");
}

document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>