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/basic-pagination-005-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<meta name="assert" content="Test that multiple pages are supported, and that the implementation doesn't just output the last page.">
<link rel="mismatch" href="basic-pagination-004-print-ref.html">
<!-- See ^^^^^^^^ (mismatch is expected) -->
<style>
@page {
size: 293px;
margin: 5px;
}
body {
margin: 0;
background: yellow;
}
div {
min-height: 10px;
break-after: page;
}
</style>
<div></div>
<div>Page</div>