Suppose we have something like
<div style="position:relative; height:10010px;">
...
<div style="position:absolute; bottom:0; font-size:20px;
background:puce;">Hello</div>
</div>
in a paginated context where the page height is 10000px (ignoring
margins etc). What should the rendering be? The "best" rendering seems
to me to put Hello at the bottom of the first page and extend the DIV
to be 30px high. But implementing that seems really hard in general.
Any thoughts? The general problem is that in the presence of vertical
breaks, an element's intrinsic height depends on its vertical top
coordinate, but with CSS absolute positioning and 'bottom', the
element's vertical top coordinate can depend on its intrinsic height.

Rob

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to