author Daniel Holbert <>
Sun, 19 Oct 2014 23:36:46 -0700
changeset 223571 5bd4fce1c9ad48d9213d5703bb1d56201175ac18
child 224114 4b6381e5f9051f2e2d2c70676816c3e720c056d7
permissions -rw-r--r--
Bug 1081072 - Add reftest. a=test-only

<!DOCTYPE html>
<html class="reftest-wait">
    .container {
      display: flex;
      overflow-y: auto;
      border: 1px solid black;
  <script type='text/javascript'>
    window.addEventListener("MozReftestInvalidate", startTest);

    function startTest() {
      // NOTE: setTimeout in tests is evil, but it's necessary here -- we need
      // to wait until the scrollbars have finished fading, and there's no
      // event we can listen for to signal that, AFAIK. Fortunately, there
      // shouldn't be *visible* scrollbars in this testcase, so even if our
      // setTimeout fires too early/late, the test will still pass. (So, there
      // shouldn't be spurious failures; any failures that happen will be real.)
      setTimeout(endTest, 800);

    function endTest() {
  <div class="container">