tor-browser

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

block-ellipsis-026.html (1017B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: block-ellipsis at the end of a non-wrappable line</title>
      4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#block-ellipsis">
      6 <link rel="match" href="reference/block-ellipsis-026-ref.html">
      7 <meta name="assert" content="The block-ellipsis is placed at the end of a non wrappable line if there is sufficient room.">
      8 <style>
      9 .clamp {
     10  line-clamp: 2;
     11  width: 63.1ch;
     12  border: 1px solid black;
     13  font-family: monospace;
     14  white-space: pre;
     15 }
     16 </style>
     17 <p>Test passes if there are two lines below, and if there is an ellipsis (“…”) after the word “walked” at the end of the second line.
     18 
     19 <div class="clamp">This time, Mark, who had always been the center of attention in
     20 any social gathering, walked
     21 into the room uncharacteristically quietly, barely speaking as he settled into a chair.
     22 When asked, he said that he was fine, when he wasn't really fine.</div>