Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-page/page-size-003-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="page-size-003-print-ref.html">
<style>
@page {
size: 300px 100px;
margin: 25px;
}
body { margin: 0; }
</style>
<div style="break-before:page;">Page 1</div>
<div style="break-before:page;">Page 2</div>
<div style="break-before:page;">Page 3</div>