summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/zero-opacity-text.html
blob: 9009470e61c1490f7a3a8925f4c110a9ef24bd72 (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;">abc</div>
</div>
<script type="application/javascript">
function doTest() {
  d.textContent = "def";
  document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>