tor-browser

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

line-clamp-auto-009.html (779B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: `text-overflow: ellipsis` and `line-clamp: auto`</title>
      4 <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp">
      6 <link rel="match" href="reference/webkit-line-clamp-036-ref.html">
      7 <meta name="assert" content="text-overflow: ellipsis does apply in a line-clamp: auto context">
      8 <style>
      9 .clamp {
     10  width: 10.1ch;
     11  max-height: 80px;
     12  font: 16px / 32px monospace;
     13  background-color: yellow;
     14  padding: 4px;
     15  line-clamp: auto;
     16  overflow: hidden;
     17  text-overflow: ellipsis;
     18 }
     19 </style>
     20 <div class="clamp">
     21  supercalifragilisticexpialidocious
     22  supercalifragilisticexpialidocious
     23  supercalifragilisticexpialidocious
     24 </div>