tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-indent-long-line-crash.html (559B)


      1 <!DOCTYPE html>
      2 <title>Very long line with `text-indent` should not crash</title>
      3 <link rel="help" href="https://crbug.com/963794">
      4 <link rel="author" title="Koji Ishii" href="kojii@chromium.org">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <style>
      8 body {
      9  width: 2147483648px;
     10 }
     11 div {
     12  text-indent: 2147483648px;
     13  width: 200%; /* Double the width in case CSS parser clamps the body width */
     14 }
     15 </style>
     16 <body>
     17  <div>XXX</div>
     18 <script>test(() => { document.body.offsetTop; });</script>
     19 </body>