layout/reftests/text-indent/dynamic-change-with-overflow-1.html
author Sebastian Hengst <archaeopteryx@coole-files.de>
Fri, 21 Jul 2017 20:18:44 +0200
changeset 419059 fafcbde047540092ab629013acedb177026660e5
parent 392550 b866630a4183b38c2c234508b1ca3b80f51d8595
permissions -rw-r--r--
Backed out changeset abd1b9db4905 (bug 1382768) for leaks in mochitests, e.g. browser_bug822367.js. r=backout

<!DOCTYPE html>
<html class="reftest-wait">
  <div style="overflow: hidden;">
    Some text.
  </div>

  <script>
    onload = function() {
      var div = document.querySelector("div");
      // Make sure layout has happened.
      window.width = div.offsetWidth;
      div.style.textIndent = "50px";
      document.documentElement.className = "";
    }
  </script>
</html>