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-006-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-006-print-ref.html">
<style>
@page {
size: 200px 320px;
margin: 10px;
}
@page :first {
margin-top: 100px;
}
body {
margin: 8px;
}
</style>
<div style="height:202px;">
first page
</div>
<div style="break-before:page; height:300px;">
second page
</div>
<div style="break-before:page; height:300px;">
third page
</div>