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/subpixel-page-size-002-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="subpixel-page-size-002-print-ref.html">
<meta name=reftest-pages content="2">
<style>
body { margin: 0; }
@page {
size: 400px 123.1px;
margin: 0;
}
</style>
<div style="height:123.1px; background:red;">
This page should not be printed.
</div>
There should be no red.