Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Test the `text-box-trim` isn't propagated into atomic inlines</title>
<link rel="match" href="text-box-trim-atomic-inline-001-ref.html">
<style>
@import "support/MetricsTestFont.css";
.spacer {
background: lightgray;
block-size: 100px;
}
.target {
font: 100px/2 MetricsTestFont;
text-box-trim: trim-both;
text-box-edge: text;
}
.atomic {
display: inline-block;
background: lime;
}
</style>
<div class="spacer"></div>
<div class="target">
<span class="atomic">ApÉx</span>
</div>
<div class="spacer"></div>