Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
/* The default page box size in WPT is 5 by 3 inches. */
@page {
size: 6in 5in;
margin: 0;
}
body {
margin: 0;
}
</style>
<div style="margin:0.5in; width:5in; height:4in; background:yellow;">
The page box size should be 6 by 5 inches. Each page margin should be 0.5in,
resulting in a page area size of 5 by 4 inches.
</div>