mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
30 lines
628 B
HTML
30 lines
628 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-print">
|
|
<head>
|
|
<title>AbsPos Pagination, with clip:rect()</title>
|
|
<style type="text/css">
|
|
html, body { margin: 0; padding: 0; }
|
|
div {
|
|
position: absolute;
|
|
top: 120px;
|
|
border: 10px solid blue;
|
|
width: 50px;
|
|
height: 300px;
|
|
}
|
|
#mask1 {
|
|
border-color: white;
|
|
background: white;
|
|
clip:rect(0px, auto, 200px, 0px);
|
|
}
|
|
#mask2 {
|
|
border-color: white;
|
|
background: white;
|
|
clip:rect(200px, 5px, auto, 0px);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div><div id="mask1"></div><div id="mask2"></div>
|
|
</body>
|
|
</html>
|