tor-browser

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

block-ellipsis-014.html (1009B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: the block-ellipsis cannot be placed at hyphenation opportunities if the line would not break</title>
      4 <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
      5 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
      6 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#block-ellipsis">
      7 <link rel="match" href="reference/block-ellipsis-013-ref.html">
      8 <meta name="assert" content="The block-ellipsis is not placed after the last soft wrap opportunity in a line with text-wrap: nowrap.">
      9 <style>
     10 .clamp {
     11  line-clamp: 2;
     12  width: 63.1ch;
     13  border: 1px solid black;
     14  font-family: monospace;
     15  white-space: pre;
     16 }
     17 </style>
     18 <div class="clamp">This time, Mark, who had always been the center of attention in
     19 any social gathering, walked into the room uncharacteristi&shy;cally quietly, barely speaking as he settled into a chair.
     20 
     21 When asked, he said that he was fine, when he wasn't really fine.</div>