Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-overflow/line-clamp/webkit-line-clamp-052.html
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Overflow: center-aligned -webkit-line-clamp ellipsis</title> <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#propdef--webkit-line-clamp"> <link rel="match" href="reference/webkit-line-clamp-052-ref.html"> <meta name="assert" content="If the -webkit-line-clamp ellipsis would be placed in an aligned line, the alignment happens after placing the ellipsis."> <style> .clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; width: 10em; border: 2px solid black; text-align: center; } </style> <div class="clamp"> Line 1 <br> Line 2 <br> Line 3 </div>
/css/css-overflow/line-clamp/reference/webkit-line-clamp-052-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> .clamp { width: 10em; border: 2px solid black; text-align: center; } </style> <div class="clamp"> Line 1 <br> Line 2… </div>