[Webkit-unassigned] [Bug 7374] New: Links to IDs in absolutely positioned divs with overflow:auto

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Feb 19 20:39:05 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7374

           Summary: Links to IDs in absolutely positioned divs with
                    overflow:auto
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: n/a
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: sam at viveka.net.au


In the submitted reduced case you will find a group of links at the top of the
page that should navigate to the headers in the absolutely positioned content
area below.

Instead of scrolling the content div (that has overflow:auto) to place the
appropriate heading at the top of the div, it instead scrolls the content div
to place the appropriate heading at the top of the browser window (where it is
unseen).

Quite simply, in this condition, it does not seem to treat the containing div
as the position reference for scrolling.

This situation is only met under this criteria, when divs are nested in this
way. The absolutely positioned parent div sets the top and bottom values. The
absolutely positioned child div sets it's height to 100% to fill the dynamic
parent height completely. Other positioning methods can yield different
results, and even work properly.

This bug also seems to exist in the current release of Safari Version 2.0.3
(417.8) as well as the latest nightly build.


-- 
Configure bugmail: http://bugzilla.opendarwin.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