tor-browser

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

line-clamp-auto-008.html (620B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: unconstrained `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-001-ref.html">
      7 <meta name="assert" content="if a line-clamp: auto box does not have block size constraints, it should not clamp">
      8 <style>
      9 .clamp {
     10  line-clamp: auto;
     11  font: 16px / 32px serif;
     12  white-space: pre;
     13  background-color: yellow;
     14 }
     15 </style>
     16 <div class="clamp">Line 1
     17 Line 2
     18 Line 3
     19 Line 4
     20 Line 5</div>