Status: FAIL | Duration: 18ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-page/subpixel-page-size-001-print.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <link rel="help" href="https://www.w3.org/TR/css-page-3/#page-size-prop"> <link rel="match" href="subpixel-page-size-001-print-ref.html"> <meta name=reftest-pages content="2"> <style> body { margin: 0; } @page { size: 400px 123.9px; margin: 0; } :root { print-color-adjust: exact; } </style> <div style="height:123.9px; background:red;"> This page should not be printed. </div> There should be no red.
/css/css-page/subpixel-page-size-001-print-ref.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> <style> body { margin: 0; } @page { size: 400px 123.9px; margin: 0; } </style> There should be no red.