Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<meta name="assert" content="Test that normal text box trimming works inside of pagination, with trimming being applied far away from the page edges. How to treat trimming at page edges depends on the implementation.">
<link rel="match" href="not-at-page-edges-003-print-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
@page {
size: 400px;
margin: 0;
}
body {
margin: 0;
}
</style>
<div style="height:100px;"></div>
<div style="text-box-trim:trim-end; font:20px/60px Ahem; background:yellow;">
xxx
<div style="height:400px;"></div>
xxx
</div>