summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/abspos-breaking-006-ref.html
blob: 84a47e1a247db5ffcbf04a305af599febb9e3a11 (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
31
32
33
34
35
<!DOCTYPE html>
<html class="reftest-print">
 <head>
  <title>AbsPos Pagination, with clip:rect()</title>
  <style type="text/css">
    html, body, pre { margin: 0; padding: 0; }
    div {
      position: absolute;
      top: 50%;
      border: 10px solid blue;
      width: 50px;
      height: 300px;
      clip:rect(5px, auto, 50px, 5px);
    }
    #mask1 {
      border-color: white;
      background: white;
      clip:rect(0px, auto, 5px, 0px);
    }
    #mask2 {
      border-color: white;
      background: white;
      clip:rect(50px, auto, auto, 0px);
    }
    #mask2 {
      border-color: white;
      background: white;
      clip:rect(0px, 5px, auto, 0px);
    }
  </style>
 </head>
 <body>
 <div></div><div id="mask1"></div><div id="mask2"></div><div id="mask3"></div>
</body>
</html>