blob: 830fa7fcce56f226916aa1e2827ffbe6053af9c4 (
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-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; }
.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> </x>
<x class="b"><div class="test"></div> </x>
</body>
</html>
|