tor-browser

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

text-indent-and-wide-float.html (1085B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      3 <link rel="help" href="http://crbug.com/365814218">
      4 <meta name="assert" content="Floats are not part of lines, so if a float is too wide to fit any inline content beside it, the first formatted line goes below it, or even into the next fragmentainer if there's insufficient room below.">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      8 <div style="width:100px; height:100px; background:red;">
      9  <div style="columns:2; column-fill:auto; gap:0; height:110px; font:25px/25px Ahem; text-indent:25px;">
     10    <span style="color:green;">
     11      <div style="float:left; width:100%; height:100px; background:green;">
     12        <!-- Bleed into the next column, to cover the text indentation there. -->
     13        <div style="width:150%; height:25px; background:green;"></div>
     14      </div>
     15      x xx xx xx
     16    </span>
     17  </div>
     18 </div>