Open Bug 540140 Opened 16 years ago Updated 3 years ago

Scrolling inconsistency with overflow:hidden on <html>

Categories

(Core :: Layout, defect)

1.9.1 Branch
defect

Tracking

()

People

(Reporter: drew, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

3.6: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100105 Firefox/3.6 (.NET CLR 3.5.30729) Trunk: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20100114 Minefield/3.7a1pre (.NET CLR 3.5.30729) This occurs in Trunk and 3.6 RC1. When overflow:hidden is present in the html tag on a page that would otherwise have a scroll bar, scrolling with the middle click, the up and down arrows, and page up and page down moves the page. Scrolling with the mouse wheel, however, does not work. Attached is a test case. Note: I noticed this bug on www.google.com/voice.
This is also an issue on 3.5. window.scollMaxY does have a value > 0, and the window.scrollBy() function does scroll the window whereas it obviously shouldn't.
Hardware: x86 → All
Version: Trunk → 1.9.1 Branch
mhhmm, this does not work with Fx3.0/Fx2 either, nor with Chrome dev, Opera 10.50 - the only exception is MSIE8.
(In reply to comment #0) > When overflow:hidden is present in the html tag on a page that would otherwise > have a scroll bar, scrolling with the middle click, the up and down arrows, and > page up and page down moves the page This is a bug. > Scrolling with the mouse wheel, however, > does not work. This is correct. Elements with 'overflow: hidden' should be scrollable through Web page script, but should not be scrollable by user action.
I could not get a regression range, as this bug occurs at least as far back as early 2004: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.7a) Gecko/20040210 Firebird/0.8.0+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: