summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-size-012-print-ref.html
blob: e85e5f078508ca299255ea8270dd1519115019a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  @page {
    size: 600px 400px;
    margin: 0;
  }
  body { margin: 0; }
</style>
<div style="margin-left:auto; margin-right:50px; writing-mode:vertical-rl; height:400px; background:yellow;">
  50px to the left of page box right edge.<br>
  Page widths larger than heights.<br>
</div>
<div style="break-before:page;"></div>
<div style="margin-left:auto; margin-top:50px; writing-mode:vertical-rl; height:350px; background:yellow;">
  50px below the page box top edge.<br>
</div>