summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/chrome/printpreview_scale_test_003.html
blob: 2b1d68ff607c72b3cc476f75c624e2a22585ee03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<head>
  <style>
@page {
  size: 8.5in 13in;
  margin: 0;
}
body{
  margin:0;
}
div{
  /* 13in / 11in = 1.1818181... */
  height: calc(1.1818182 * 200px);
  width: calc(1.1818182 * 200px);
  background: blue;
}
  </style>
</head>
<body>
  <div></div>
</body>