Closed Bug 297578 Opened 19 years ago Closed 19 years ago

onscroll event does not fire when scrolling by dragging in content

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 189308

People

(Reporter: jhurshman, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

The onscroll event on the body element and on all other DOM elements ought to fire if the user "scrolls" 
by clicking within the element content and dragging to the element edge. However, it does not fire.

Both Safari (2.0 tested) and IE (6.0 tested) fire onscroll in this case, but Firefox does not.

Reproducible: Always

Steps to Reproduce:
1. Load a page long enough to cause scrollbars to appear.
2. Enter the following in the address bar:
javascript:void(window.onscroll=function(){window.status=document.body.scrollTop})
2. Scroll by clicking within the document and dragging to the edge of the window.

Actual Results:  
The window status does not update. (It does update if you scroll using the scrollbar.)

Expected Results:  
The window status should have updated.
Related to bug 189308?
*** Bug 305595 has been marked as a duplicate of this bug. ***
This is works for me now bug 189308 is fixed.

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