[Webkit-unassigned] [Bug 16431] New: Changing a nested element from position:fixed to position:absolute messes up body.scrollHeight

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 13 21:18:39 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16431

           Summary: Changing a nested element from position:fixed to
                    position:absolute messes up body.scrollHeight
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: khooyp at cs.umd.edu


In a document that looks like the following:

<div style="height: 100px; position:relative; overflow: auto">
        <div style="position:fixed"/>
</div>

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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list