summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html
blob: 205a13f7a589ff0403641fc3f5c8d391cf209043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-page-3/#page-properties">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8508">
<link rel="match" href="page-margin-negative-print-ref.tentative.html">
<style>
  @page {
    size: 300px;
    margin: -20px;
  }
  body {
    margin: 0;
    background: yellow;
  }
  .fullpager {
    width: 300px;
    height: 300px;
    border: 20px solid red;
    background: green;
  }
</style>
<div class="fullpager">
  Green background, no red / yellow.
</div>