Bug 15948

Summary: assigning scrollLeft or scrollTop triggers scroll event even if value is unchanged
Product: WebKit Reporter: Marcus Better <marcus>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: mrahaman
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Test case none

Description Marcus Better 2007-11-12 01:44:50 PST
WebKit generates a scroll event whenever the scrollLeft or scrollTop properties are assigned, even if the value did not change.

Firefox (and I think also IE) only fire an event if the scrollLeft/Top value actually changed, not if it is set to the previous value.
Comment 1 Marcus Better 2007-11-12 01:45:36 PST
Created attachment 17197 [details]
Test case
Comment 2 Mustafizur Rahaman( :rahaman) 2012-03-26 22:58:53 PDT
I verified on both Safari & Chrome, and the behaviour seems to be same as FF as it is printing "no scroll event". So, this issue is no more reproducible. Can any one please mark it as INVALID?
Comment 3 Alexey Proskuryakov 2012-03-27 14:39:08 PDT
I think that the test is no longer testing what it was meant to test, because the scroll event became asynchronous. I don't know if the issue still exists.