layout/reftests/reftest-sanity/reftest-no-paint.html
author Raymond Lee <raymond@raysquare.com>
Mon, 07 Oct 2013 10:39:09 +0800
changeset 160609 647090a079020e22ec6a03060af68147eb794338
parent 145835 fae75f6635c0a138a8d979b339beaf56a4a346e4
child 374655 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bug 811287 - Intermittent test_bookmarks_html_corrupt.js | null != null. r=mak, a=test-only

<!DOCTYPE HTML>
<html class="reftest-wait">
<body>
<div class="reftest-no-paint" style="background-color: rgba(255, 0, 0, 0.5); width:100px; height:100px;" >
</div>
<script type="application/javascript">

function doTest() {
  document.body.style.background = "black";
  document.documentElement.removeAttribute("class");
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>