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