In a document that looks like the following:
<div style="height: 100px; position:relative; overflow: auto">
When the inner div is changed to be position:absolute, and offset to something larger than the size of the document (e.g. top:2000px), the document height will be extended to wherever the div was offset to, and the window scrollbars will appear if not already.
It is as if the new document height was calculated without considering overflow: auto in the outer div. The same problem occurs for overflow: none or overflow: scroll too.
Created attachment 17887 [details]