Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Test trimming both sides of the inline content</title>
<meta name="assert"
content="text-box-trim values set by multiple ancestors accumulate instead
of overwrite each other."
>
<link rel="match" href="text-box-trim-accumulation-002-ref.html">
<style>
@import "support/TestMetricsFont.css";
.spacer {
block-size: 100px;
background: lightgray;
}
.outer {
text-box-trim: trim-start;
}
.middle {
text-box-trim: trim-end;
text-box-edge: ex alphabetic;
}
.inner {
font: 100px/1 MetricsTestFont;
}
</style>
<div class="spacer"></div>
<div class="outer">
<div class="middle">
<div class="inner">ApÉx</div>
</div>
</div>
<div class="spacer"></div>