[Webkit-unassigned] [Bug 17309] New: Absolutely-positioned div with "overflow: visible auto" doesn't allow enough width for contents when scrollbar is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 11 06:56:44 PST 2008


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

           Summary: Absolutely-positioned div with "overflow: visible auto"
                    doesn't allow enough width for contents when scrollbar
                    is present
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
               URL: http://www.pilgrimwebdesign.com/overflow.html
        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: jhurshman at gmail.com


An absolutely-positioned div with overflow-x: visible and overflow-y: auto
ought to permit its children to determine its width. In so doing, the width of
the div's scrollbar needs to be accounted for, if it is visible. 

However, it appears that WebKit is not accounting for the scrollbar's width. It
looks like it calculates its contents' height and width and sets its own width,
then applies the scrollbar.

This leads to the div being too narrow for the contents, which either causes
the contents to wrap, or if the contents are "white-space: nowrap", causes the
div to scroll horizontally as well as vertically.


-- 
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