Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/line-clamp/line-clamp-auto-010.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: `text-overflow: ellipsis` and unconstrained `line-clamp: auto`</title> <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com"> <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp"> <link rel="match" href="reference/webkit-line-clamp-037-ref.html"> <meta name="assert" content="text-overflow: ellipsis does apply in a line-clamp: auto context, even if it doesn't have a max-height"> <style> .clamp { width: 15.1ch; font: 16px / 32px monospace; background-color: yellow; padding: 4px; line-clamp: auto; overflow: hidden; text-overflow: ellipsis; } </style> <div class="clamp"> supercalifragilisticexpialidocious supercalifragilisticexpialidocious </div>
/css/css-overflow/line-clamp/reference/webkit-line-clamp-037-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> .clamp { display: -webkit-box; -webkit-box-orient: vertical; width: 15.1ch; font: 16px / 32px monospace; background-color: yellow; padding: 4px; overflow: hidden; } </style> <div class="clamp"> supercalifragi… supercalifragi… </div>