block-ellipsis-015.tentative.html (1192B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Overflow: the block-ellipsis cannot be inserted at wbr if the line would not break there</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 box with text-wrap: nowrap."> 9 <!-- 10 Marked as tentative because the behavior of wbr is not fully standard/interoperable yet. 11 See Comment in https://github.com/web-platform-tests/wpt/pull/54917#discussion_r2357640047 12 --> 13 <style> 14 .clamp { 15 line-clamp: 2; 16 width: 63.1ch; 17 border: 1px solid black; 18 font-family: monospace; 19 white-space: pre; 20 } 21 </style> 22 <div class="clamp">This time, Mark, who had always been the center of attention in 23 any social gathering, walked into the room uncharacteristi<wbr>cally quietly, barely speaking as he settled into a chair. 24 25 When asked, he said that he was fine, when he wasn't really fine.</div>