block-ellipsis-024.html (779B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Overflow: empty string and no-ellipsis</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-023-ref.html"> 7 <meta name="assert" content="block-ellipsis: '' has the same effect as no-ellipsis, and must not displace content to make room for the (non-existant) ellipsis"> 8 <style> 9 .clamp { 10 line-clamp: 4 ""; 11 width: 32ch; 12 font-family: monospace; 13 } 14 </style> 15 <div class="clamp"> 16 Test passes if there are 4 lines 17 and the last two are identical 18 supercalifragilisticexpialidocious 19 supercalifragilisticexpialidocious 20 Test fails: this should not be visible 21 </div>