gecko-dev/layout/reftests/pagination/abspos-breaking-010-ref.html

31 строка
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>&nbsp;</x>
<x class="b"><div class="test"></div>&nbsp;</x>
</body>
</html>