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-002-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-002-print-ref.html">
<style>
@page {
size: 300px 50px;
margin: 0;
}
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>