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.
Created attachment 6967 [details] Test showing incorrect scrollbar render when resized
Decided to move this to Javascript, since perhaps the scrollbar is correct and the javascript code is returning the wrong scrollLeft value.
This is no longer happening. Checked on Chrome 27 with WebKit r147273. Please reopen if you disagree!
Difficult to test on Mac, as scroll bar behavior is all different now.