Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-page-3/">
<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>