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-name-margin-002-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<link rel="match" href="page-name-margin-002-print-ref.html"/>
<style>
@page a {
margin: 1in;
}
@page {
margin: 0;
}
div {
width: 1cm;
height: 1cm;
border: 2px solid blue;
}
</style>
<body>
<div></div>
<div style="page: a"></div>
</body>
</html>