Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-inline/text-box-trim/text-box-trim-half-leading-block-box-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>text-box-trim propagation is blocked by empty block boxes</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="match" href="text-box-trim-half-leading-block-box-001-ref.html">
<style>
.div-parent {
outline: 1px solid orange;
font: 20px/3 Ahem;
text-box-trim: trim-both;
text-box-edge: text;
}
</style>
<div class="div-parent">
<div></div>
<div>Testline1</div>
<div>Testline2</div>
<div>Testline3</div>
<div></div>
</div>