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-background-image-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Test print result of background-image only for printed page</title>
<link rel="match" href="page-background-image-print-ref.html">
<style>
@page {
background-image: url("/images/green.png");
margin: 0px;
}
</style>
<p>
Should print on a green background but not display it on screen.
</p>