Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-paged">
<head>
<title>CSS 2.1 Test Suite: Overflow Pagination (Multiple)</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<style type="text/css">
.container {
height: 24pt;
/* background: red; See bug 380013 for why this is commented out */
}
.overflow {
border: solid 2pt silver;
height: 25in;
border-bottom: 4pt solid red;
}
#following {
margin: -1in 0;
height: 72pt;
border: 2pt black;
border-style: none solid;
background: white;
font-size: 10pt;
line-height: 10pt;
text-align: center;
color: blue;
}
.no2 .overflow {
height: 24.66667in;
border-bottom-color: blue;
}
.no3 .overflow {
height: 24.33333in;
position: relative;
z-index: -1;
}
.fill {
height: 75in;
}
</style>
</head>
<body>
<div class="container no1">
<div class="overflow">
</div>
</div>
<div class="container no2">
<div class="overflow">
</div>
</div>
<div class="container no3">
<div class="overflow">
</div>
</div>
<p id="following">
This paragraph must be on the first page in paged media.
There must be no red on any page. There must be a blue line
on a page <em>after</em> the first (assuming the page area
is shorter than 25 inches).
</p>
<div class="fill">
</div>
</body>
</html>