tor-browser

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

text-box-trim-pseudo-before-after-002-ref.html (660B)


      1 <!DOCTYPE html>
      2 <title>text-box-trim: trim-start is propagated to the last formatted line,
      3 even if it's within a block-in-inline</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="stylesheet" type="text/css" href="/fonts/ahem.css" />
      7 <style>
      8 .spacer {
      9  background: lightgray;
     10  block-size: 50px;
     11 }
     12 .target {
     13  font: 50px/2 Ahem;
     14  height: 75px;
     15 }
     16 .target::before {
     17  content: "X";
     18  color: blue;
     19 }
     20 .target::after {
     21  content: "X";
     22  color: red;
     23 }
     24 </style>
     25 <div class="spacer"></div>
     26 <div class="target">
     27 Aaa
     28 <div class="spacer"></div>