summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/text-indent-1b.html
blob: 79e34623f7c3de880e7529d8958ec8bf40c4db9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html class="reftest-wait">
  <iframe sandbox
          style="width: 200px"
          srcdoc="<canvas style='text-indent: 50vw; display: block'>Text</canvas>"></iframe>
  <script>
    onload = function() {
      var i = document.querySelector("iframe");
      window.w = i.offsetWidth;
      i.style.width = "400px";
      document.documentElement.className = "";
    }
  </script>
</html>