1
0
Fork 0
firefox/testing/web-platform/tests/css/css-inline/text-box-trim/text-box-trim-block-in-inline-end-004.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

33 lines
832 B
HTML

<!DOCTYPE html>
<title>text-box-trim: trim-end is propagated to the last formatted line,
even if it's within a block-in-inline inside another block</title>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim">
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge">
<link rel="match" href="text-box-trim-block-in-inline-end-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.spacer {
background: lightgray;
block-size: 50px;
}
.target {
font: 50px/2 Ahem;
text-box-trim: trim-end;
text-box-edge: text;
}
</style>
<div class="spacer"></div>
<div class="target">
<div>
<span>
<div>A</div>
</span>
<span>
<div>B</div>
</span>
<span>
<div>C</div>
</span>
</div>
</div>
<div class="spacer"></div>