blob: c9a7b3949a3438d296a126e2e9abf960d37efd86 [file] [log] [blame] [edit]
<!DOCTYPE html>
<title>text-box-trim: trim-start is propagated to the last formatted line,
even if it's within a block-in-inline</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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.spacer {
background: lightgray;
block-size: 50px;
}
.target {
font: 50px/2 Ahem;
height: 75px;
}
.target::before {
content: "X";
color: blue;
}
.target::after {
content: "X";
color: red;
}
</style>
<div class="spacer"></div>
<div class="target">
Aaa
<div class="spacer"></div>