> On Jun 9, 2010, at 3:51 PM, David Hyatt wrote:
>> On Jun 9, 2010, at 2:25 AM, Andy Estes wrote:
>>
>>>
>>> On Jun 8, 2010, at 8:34 PM, Nathan Vander Wilt wrote:
>>>
What Safari 4 seemed to do was simply provide much greater precision,
where scrolling half a line simply yielded about
On Thu, Jun 10, 2010 at 12:26 PM, David Hyatt wrote:
> Having investigated the original bug and its fix that caused this
> regression, Safari 4's behavior was correct. The new behavior is broken.
> A tiny continuous event in Safari 4 correctly reported values that are
> smaller than one line d
I think for now I'm just going to implement the "minimum line movement of 1"
and only do it at the DOM event level. That way if we use the wheel event
internally (e.g., for a non-native scrollview implementation) it will still do
the right thing.
dave
On Jun 10, 2010, at 3:01 PM, Peter Kastin
On Thu, Jun 10, 2010 at 12:26 PM, David Hyatt wrote:
> There are Web sites that depend on never scrolling less than 1 wheel delta
> line though. So what can we do to get the best of both worlds?
>
Can we keep a count of the "total delta not yet sent to the page", and each
time it overflows one
I filed
https://bugs.webkit.org/show_bug.cgi?id=40441
to track this issue.
dave
(hy...@apple.com)
On Jun 10, 2010, at 2:26 PM, David Hyatt wrote:
> On Jun 10, 2010, at 1:01 PM, Nathan Vander Wilt wrote:
>
>> On Jun 9, 2010, at 3:51 PM, David Hyatt wrote:
>>> On Jun 9, 2010, at 2:25 AM, Andy
On Jun 10, 2010, at 1:01 PM, Nathan Vander Wilt wrote:
> On Jun 9, 2010, at 3:51 PM, David Hyatt wrote:
>> On Jun 9, 2010, at 2:25 AM, Andy Estes wrote:
>>
>>>
>>> On Jun 8, 2010, at 8:34 PM, Nathan Vander Wilt wrote:
>>>
What Safari 4 seemed to do was simply provide much greater precision
On Jun 9, 2010, at 3:51 PM, David Hyatt wrote:
> On Jun 9, 2010, at 2:25 AM, Andy Estes wrote:
>
>>
>> On Jun 8, 2010, at 8:34 PM, Nathan Vander Wilt wrote:
>>
>>> What Safari 4 seemed to do was simply provide much greater precision, where
>>> scrolling half a line simply yielded about 20 units
On Jun 9, 2010, at 2:25 AM, Andy Estes wrote:
>
> On Jun 8, 2010, at 8:34 PM, Nathan Vander Wilt wrote:
>
>> What Safari 4 seemed to do was simply provide much greater precision, where
>> scrolling half a line simply yielded about 20 units instead of being
>> ignored. So the above code would y
On Jun 8, 2010, at 8:34 PM, Nathan Vander Wilt wrote:
> What Safari 4 seemed to do was simply provide much greater precision, where
> scrolling half a line simply yielded about 20 units instead of being ignored.
> So the above code would yield integral deltas in browsers that only fired
> even
On Tue, Jun 8, 2010 at 8:34 PM, Nathan Vander Wilt wrote:
> What Safari 5's WebKit does is turn one "line" into 4800 (!) units instead
> of 40. For Safari 5 the code above needs to read as follows to work the
> same. You can see it isn't really "more compatible" at all:
>
> var delta;
On Jun 8, 2010, at 7:50 PM, Andy Estes wrote:
> Hi Nathan,
>
> It is true that Safari now emits mousewheel events in increments of 120 for
> compatibility reasons. However, there is no loss of granularity in the sense
> that events are generated on fractional wheel ticks and are accelerated on
On Jun 8, 2010, at 19:50, Andy Estes wrote:
> The only difference is that you will see increments of 120 rather than
> increments of 1
Perhaps a better way to say this is that the old wheelDelta values are now
simply being multiplied by 120. The precision hasn't changed, just the atomic
unit
Hi Nathan,
It is true that Safari now emits mousewheel events in increments of 120 for
compatibility reasons. However, there is no loss of granularity in the sense
that events are generated on fractional wheel ticks and are accelerated on
platforms that support it. The only difference is that
In Safari 4, the following event handler would log nice smooth values when
scrolling:
// logs: -3, -9, -6, -48, ...
document.addEventListener("mousewheel", function(e) {
console.log(e.wheelDeltaY); });
In Safari 5, the mousewheel events have lost all precision, and are now big
ugly integral mul
14 matches
Mail list logo