Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>text-box-trim does not propagate through borders</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="match" href="text-box-trim-half-leading-block-box-004-ref.html">
<style>
.div-parent {
outline: 1px solid orange;
font: 20px/3 Ahem;
text-box-trim: trim-both;
text-box-edge: text;
}
.inner {
margin: -10px;
border: 10px solid white;
}
</style>
<div class="div-parent">
<div class="inner">Testline1<br>Testline2<br>Testline3</div>
</div>