Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/overflowing-block-002-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="match" href="overflowing-block-002-print-ref.html">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
@page { size: 5in 3in; margin: 0.5in; }
body { margin: 0; }
.content {
position: absolute;
font: 0.5in/1 Ahem;
color: white;
word-break: break-all;
border: 0.5in solid purple;
margin-right: 2in;
}
</style>
<!-- The content is printed in two pages. -->
<div class="content">XXXXXXXXXXXX</div>