33 lines
780 B
HTML
33 lines
780 B
HTML
<!DOCTYPE html>
|
|
<title>text-box-trim does not interfere with clearance less than trim amount</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-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>
|