Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>text-box-trim does not interfere with clearance less than trim amount</title>
<link rel="match" href="text-box-trim-float-clear-br-003-ref.html">
<style>
@import "support/MetricsTestFont.css";
.spacer {
background: lightgray;
block-size: 100px;
}
.target, .float {
font: 100px/1 MetricsTestFont;
}
.target {
text-box-trim: trim-end;
text-box-edge: text alphabetic;
}
.float {
float: left;
width: 100px;
height: 90px;
background: yellow;
}
.clear { clear: both; }
</style>
<div class="float"></div>
<div class="target">
ApÉx
<br class="clear">
</div>
<div class="spacer"></div>