Forum Bugs

Boxes with fixed position do not repeat on every page?

pronik
The CSS2.1 spec says:

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">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
  <div class="pagebreak">&nbsp;</div>
</body>
</html>


Again, maybe I'm missing something very obvious. But what is it, a bug or some defined behaviour?
mikeday
Fixed positioning is unsupported at this time. In scrolling environments it makes sense, but for paged media it is less useful than originally envisioned, as there is no way to control which pages it would appear on. Headers and footers via page margin boxes are a more useful mechanism.