tor-browser

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

line-break-after-leading-oof-001.html (627B)


      1 <!DOCTYPE html>
      2 <title>CSS Test: Line wrapping after leading out-of-flow objects</title>
      3 <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css2/visuren.html#propdef-position">
      5 <style>
      6 div {
      7  width: 5ch;
      8  /* When the line was broken after the leading OOF, it is hardly visible
      9     because it is an empty line box.
     10     Applying `text-indent` can make it visible; if the line is indented,
     11     it is the first line, proving the line did not wrap. */
     12  text-indent: 3ch;
     13 }
     14 </style>
     15 <body>
     16  <div><span style="position: absolute"></span>123456</div>
     17 </body>