summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print-ref.html
blob: 5c1e91ea85823339ba30fafb8863391090ba9f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <style>
div {
    width: 1in;
    height: 1in;
    border: 1px solid black;
}
.fixed {
    position: fixed;
    left: 0.5in;
    top: 0.5in;
    border-color: blue;
}
  </style>
  <body>
    <div class="fixed">fixed</div>
    <div style="break-after: page">a</div>
    <div>b</div>
  </body>
</html>