UNCONFIRMED 15948
assigning scrollLeft or scrollTop triggers scroll event even if value is unchanged
https://bugs.webkit.org/show_bug.cgi?id=15948
Summary assigning scrollLeft or scrollTop triggers scroll event even if value is unch...
Marcus Better
Reported 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.
Attachments
Test case (1.52 KB, text/html)
2007-11-12 01:45 PST, Marcus Better
no flags
Marcus Better
Comment 1 2007-11-12 01:45:36 PST
Created attachment 17197 [details] Test case
Mustafizur Rahaman( :rahaman)
Comment 2 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?
Alexey Proskuryakov
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.