layout/reftests/display-list/1453541-2.html
author Matt Woodrow <mwoodrow@mozilla.com>
Sun, 15 Apr 2018 16:38:45 +1200
changeset 417640 b52b2eb81d1e52d259d55d948281c7f6ddf1270c
permissions -rw-r--r--
Bug 1453541 - Part 3: Add reftests. r=mstange MozReview-Commit-ID: 95DOq6UBUnq

<!DOCTYPE html>
<html class="reftest-wait">
<body>

<div id="empty" style="position:relative; z-index: 4; left:192px; top:192px; width: 0px">
  <div style="position:fixed; width:400px; height: 400px; background-color:green; top: 200px; left: 200px"></div>
</div>
<div style="width:400px; height: 400px; background-color:blue"></div>

<script>
  function doTest() {
    document.getElementById("empty").style.left = "193px";
    document.documentElement.removeAttribute("class");
  }
  document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>