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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!DOCTYPE html>
<html class="reftest-print">
<head>
<title>AbsPos Pagination, with clip:rect() and box-decoration-break:clone</title>
<style type="text/css">
html, body, pre { margin: 0; padding: 0; }
#test {
box-decoration-break:clone;
}
div {
position: absolute;
top: 120px;
border: 10px solid blue;
width: 50px;
height: 160px;
}
#mask1 {
border-color: white;
background: white;
clip:rect(0px, auto, 3px, 0px);
}
#mask2 {
border-color: white;
background: white;
clip:rect(0px, 5px, auto, 0px);
}
#mask3 {
border-color: white;
background: white;
height: 180px;
clip:rect(0px, 5px, auto, 0px);
}
#mask4 {
border-color: white;
background: white;
height: 180px;
clip:rect(0px, 5px, auto, 0px);
}
#mask5 {
box-decoration-break:clone;
border-color: white;
height: 180px;
clip:rect(0, auto, 3px, 0px);
}
</style>
</head>
<body>
<div id="test"></div><div id="mask1"></div><div id="mask2"></div><div id="mask3"></div><div id="mask4"></div><div id="mask5"></div>
</body>
</html>
|