summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-page/page-name-margin-001.html
blob: ebbcb1db40fd67504776a555644d1581a1cbfba5 (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>
<html class="reftest-paged">
  <style>
@page a {
    margin: 0;
}
@page b {
    margin: 1cm;
}
@page c {
    margin: 2cm;
}
div {
    width: 1cm;
    height: 1cm;
    border: 2px solid red;
}
  </style>
  <body>
    <div style="page: a; border-color: lightblue"></div>
    <div style="page: b; border-color: pink"></div>
    <div style="page: c; border-color: gray"></div>
  </body>
</html>