summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html
blob: 495c66ce2e8f78509b1ec8557e60fd0b1ff962d3 (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>
  <link rel="match" href="page-name-fixed-pos-001-print-ref.html"/>
  <link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages"/>
  <style>
div {
    width: 1in;
    height: 1in;
    border: 1px solid black;
}
.fixed {
    position: fixed;
    display: flex;
    left: 0.5in;
    top: 0.5in;
    border-color: blue;
}
  </style>
  <body>
    <div class="fixed">fixed</div>
    <div style="page: a">a</div>
    <div class="page: b">b</div>
  </body>
</html>