summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/chrome/printpreview_pps2.html
blob: a7f9fddae31eed810ea04d8aad52437e4edb6033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<!-- This is a testcase for a "2-pages-per-sheet" scenario.
     There are 2 full-page "swatches" with large colorful borders. -->
<style>
html, body { margin: 0; height: 100%; }
.swatch {
  box-sizing: border-box;
  border: 240px solid;
  height: 100%;
}
.swatch:nth-child(1) { border-color: cyan; }
.swatch:nth-child(2) { border-color: pink; }
</style>
<div class="swatch"></div>
<div class="swatch"></div>