summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/subpixel-page-size-002-print.html
blob: 463cb21f25d7c2acf500d31729508375fa7e4cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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-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.