1
0
Fork 0
firefox/testing/web-platform/tests/css/css-overflow/line-clamp/block-ellipsis-002.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
652 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: block-ellipsis styling</title>
<link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#block-ellipsis">
<link rel="match" href="reference/block-ellipsis-002-ref.html">
<meta name="assert" content="The block overflow ellipsis acts as an anonymous inline which is a child of the root inline box, and it should be styled as such.">
<style>
.clamp {
line-clamp: 3;
color: teal;
font-weight: bold;
font-style: italic;
}
</style>
<div class="clamp">
Line 1<br>
Line 2<br>
Line 3<br>
Line 4
</div>