summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/abspos-breaking-010-ref.html
blob: 757d9b7c7f462404c86bb8631a31862befa32b9a (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
25
26
27
28
29
30
<!DOCTYPE html>
<html class="reftest-paged">
 <head>
  <title>AbsPos Pagination, with clip:rect() and box-decoration-break:clone</title>
  <style type="text/css">
    html, body, pre { margin: 0; padding: 0; }
    .b {
      page-break-before: always;
    }
    div {
      position: absolute;
      top: 50%;
      border: 10px solid blue;
      width: 50px;
      height: 100px;
      clip:rect(5px, auto, 50px, 5px);
    }
    x {
      display: block;
      position: relative;
    }
    x div { top:0; }
  </style>
 </head>
 <body>
 <div class="test"></div>
 <x class="b"><div class="test"></div>&nbsp;</x>
 <x class="b"><div class="test"></div>&nbsp;</x>
</body>
</html>