[Webkit-unassigned] [Bug 7686] New: Scrollbars render improperly when resized

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Mar 9 15:47:50 PST 2006


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

           Summary: Scrollbars render improperly when resized
           Product: WebKit
           Version: 417.x
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: brian.sweet at kaleidescape.com


The attached demonstration can be used to view this problem.  Please note that
I'm using the scrollbar setting that places both the arrows on the same side of
the scrollbar.

The attached demonstration has an onscroll event that prints out the scrollLeft
position of the overscroll:auto div to the screen.  It also has links that
allow you to increase & decrease the size of the div.  Here are the steps to
repeat the problem:

1) Load the page.
2) Scroll the scrollbar all the way over to the right.  The last logged
scrollLeft should be "800"
3) Click the "ENLARGE" link.  This increases the size of the scrollbar by 50
4) Note that the onscroll event logs that scrollLeft is now "750".  This is
because the scrollbar resized and "all the way to the right" is now at position
"750".
5) Note also though that the scrollbar that appears on the screen is not all
the way to the right.  Instead it looks like there is room to scroll the
scrollbar further to the right.
6) Try clicking the "right" button.  It will not scroll -- it thinks it's all
the way to the right
7) Try dragging the scrollbar to the right.  You can indeed scroll it further
to the right.  The onscroll events seem to indicate that the actual scrollbar
position was 700 (even though scrollLeft said 750).

So, in summary, when a scrollbar is resized, the onscroll event returns the
correct new scrollLeft position, but the actual rendered scrollbar is at a
different position.  (By "correct" I'm assuming you intended the scrollbar to
stay all the way to the right.  It could be that the real scrollbar is correct
and the scrollLeft position is wrong, but either way they are not the same).

This causes the position indicated by the scrollbar and the position indicated
by scrollLeft to be different.  The only way to fix it is to actually scroll
the scrollbar, at which point the two will move back in sync.


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