tor-browser

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

text-box-trim-block-in-inline-end-004.html (832B)


      1 <!DOCTYPE html>
      2 <title>text-box-trim: trim-end is propagated to the last formatted line,
      3 even if it's within a block-in-inline inside another block</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim">
      5 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge">
      6 <link rel="match" href="text-box-trim-block-in-inline-end-001-ref.html">
      7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      8 <style>
      9 .spacer {
     10  background: lightgray;
     11  block-size: 50px;
     12 }
     13 .target {
     14  font: 50px/2 Ahem;
     15  text-box-trim: trim-end;
     16  text-box-edge: text;
     17 }
     18 </style>
     19 <div class="spacer"></div>
     20 <div class="target">
     21  <div>
     22    <span>
     23      <div>A</div>
     24    </span>
     25    <span>
     26      <div>B</div>
     27    </span>
     28    <span>
     29      <div>C</div>
     30    </span>
     31  </div>
     32 </div>
     33 <div class="spacer"></div>