Closed Bug 270362 Opened 20 years ago Closed 20 years ago

When overflow:hidden is on, you can STILL scroll the clipped content by selecting the contents and dragging the mouse cursor.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 259615

People

(Reporter: ikbent, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040804 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040804 Firefox/0.9.3

Try going to the example url http://www.students.cs.uu.nl/people/rherk/. Select
the text "And this is the body." with the mouse. Keep the left mouse button
pressed, and move the cursur outside the window on the lower side.

Now, the contents of the body will scroll, though the content should be clipped.

See http://www.students.cs.uu.nl/people/rherk/index2.html for the same page, but
without the overflow:hidden css tag. As you will notice, a scroll bar will
appear. It seems that, although the http://www.students.cs.uu.nl/people/rherk/
page doesn't show this scrollbar, it still responds to mouse drags as if it
does. Also, in some cases (though not it this one) the mouse scroll wheel can be
used to scroll in the clipped contents.

This bug is also mentioned on the forum, see
http://forums.mozillazine.org/viewtopic.php?t=164480

Reproducible: Always
Steps to Reproduce:
1. Go to http://www.students.cs.uu.nl/people/rherk/
2. Select the words "And this is the body." with the mouse and keep the button
pressed.
3. Mouse the mouse cursor outside of the browser window, on the lower side.


Actual Results:  
The browser will now scroll the content, though overflow should be clipped.

Expected Results:  
It should not have scrolled. Instead: there should probably be no means to
scroll in contents with overflow:hidden on.
Summary: When overflow:hidden is on, you can STILL scroll the clipped content by selection the contents and dragging the mouse. → When overflow:hidden is on, you can STILL scroll the clipped content by selecting the contents and dragging the mouse cursor.
Works for me, using:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041115
Firefox/0.9.1+
Probably fixed by the patches from bug 259615.

*** This bug has been marked as a duplicate of 259615 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.