They're positioned relative to the containing block. If the "initial containing block" is to be used, then the CSS2.1 spec doesn't really define what that is (it's sorta maybe viewport when there is one, and it'd make sense to make it the page sequence otherwise). Otherwise, the positioning should happen relative to the nearest positioned ancestor.
Can you clarify exactly what you mean by the "page sequence"?
In Mozilla printing, all the page frames are kids of the page sequence frame, which is created where we would create a canvas frame in galley layout.
That said, I thought about it more and using the page sequence is no good, since that would lead to things like "left:0; right: 0;" automatically overflowing the pages.
That said, what exactly should happen to an abs pos element with "top: 0; bottom: 0;" if none of its ancestors are positioned. Should it start at top of page where the placeholder is and end at bottom of that page? Should it start at top of document and end at bottom of document?
One issue is that abs pos frames are stuck in containing blocks during frame construction, while pagination happens during reflow, and the continuing frame mechanism isn't very good at dealing with non-principal child lists...
-Boris _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
