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-004-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 first 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>Page</div>
<div></div>