Closed Bug 386444 Opened 17 years ago Closed 13 years ago

using vertical scrollbar changes horizontal scroll position with overflow-x: hidden and overflow-y: scroll

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8
Tracking Status
blocking2.0 --- -
status2.0 --- wanted

People

(Reporter: bugzilla, Assigned: roc)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

On a div with overflow-x: hidden and overflow-y: scroll, scrolling using the (vertical) scrollbar changes the horizontal scroll position.

Interestingly, scrolling with the mouse wheel doesn't seem to affect the horizontal scroll position

Reproducible: Always

Steps to Reproduce:
1. View the attached test case
2. Try to scroll with the scroll bar
Actual Results:  
Horizontal scroll position changes

Expected Results:  
Horizontal scroll position should stay the same
Attached file test case
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
I can reproduce the problem with the latest trunk builds on OS X.
(I thought there was already a bug filed on this, but can't find it.)
I can't find any other reports of this either
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Linux → All
this bug is still unresolved in Fx 3.6.

Some form of acknowledgement from Mozilla devs would be much appreciated.

thank you.
Mystix, seem like Mozilla dev 'semi' acknowledge this:

https://bugzilla.mozilla.org/show_bug.cgi?id=571201

Worried to see this bug have been pending for so many years!
This is probably really easy to fix
Assignee: nobody → roc
blocking2.0: --- → ?
Bug still not fixed and more similar reports are filled.

https://bugzilla.mozilla.org/show_bug.cgi?id=623937

https://bugzilla.mozilla.org/show_bug.cgi?id=436650
(In reply to comment #7)
> This is probably really easy to fix

Any news?
Attached patch fixSplinter Review
I don't know of a good way to test this. To hit this path, we have to synthesize events on the scrollbar or else set the attribute of an anonymous scrollbar directly, and I don't know how to do either of those reliably.
Attachment #542375 - Flags: review?(dbaron)
Whiteboard: [needs landing]
I'm not sure that bug 623937 is the same as this bug. We'll see if it's fixed by my patch.
Blocks: 343254
https://hg.mozilla.org/mozilla-central/rev/7c0489e8acaf
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.