summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-name-margin-002-print-ref.html
blob: 0e28b4c8b601d8fe657cb1f9cde0c7dd40100777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
  <style>
@page {
    margin: 0;
}
.block {
    width: 1cm;
    height: 1cm;
    border: 2px solid blue;
}
  </style>
  <body>
    <div class="block" style="break-after: page"></div>
    <div style="padding: 1in">
      <div class="block"></div>
    </div>
  </body>
</html>