summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-size-009-print-ref.html
blob: 86ffa278c9306e5a8ddcb8eeb02147dc01c7a266 (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">
<style>
  @page {
    size: 300px 400px;
    margin: 0;
  }
  @page :first {
    size: 200px;
  }
  body {
    margin: 0;
  }
</style>
There should be a 200x200 square on the next page.
<div style="break-before:page; width:200px; height:200px; background:green;"></div>