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-box-000-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="page-box-000-print-ref.html">
<style>
@page {
border: 20px solid green;
}
html {
display: grid;
place-items: center;
height: 100%;
}
</style>
This page should have a green border.