mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
31 lines
677 B
HTML
31 lines
677 B
HTML
<!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>
|