The CSS2.1 spec says:
However, a simple test case does not repeat a fixed box on every page:
Again, maybe I'm missing something very obvious. But what is it, a bug or some defined behaviour?
For paged media, boxes with fixed positions are repeated on every page.
However, a simple test case does not repeat a fixed box on every page:
<html>
<head>
<style type="text/css">
#fixed {
border: 1px solid black;
background-color: red;
position:fixed;
left: 0;
top: 0;
width: 20em;
height: 5em;
}
.pagebreak {
page-break-before: always;
}
</style>
</head>
<body>
<div id="fixed"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
<div class="pagebreak"> </div>
</body>
</html>
Again, maybe I'm missing something very obvious. But what is it, a bug or some defined behaviour?